std/uuid
2021-02-01 22:16:27 -05:00
..
_common.ts refactor(uuid): small cleanups (#684) 2021-02-01 22:16:27 -05:00
mod.ts chore: update copyright to 2021 (denoland/deno#9092) 2021-02-01 10:46:59 +00:00
README.md docs: version all imports in README (denoland/deno#7442) 2021-02-01 10:46:58 +00:00
test.ts refactor(uuid): small cleanups (#684) 2021-02-01 22:16:27 -05:00
v1_test.ts refactor(uuid): small cleanups (#684) 2021-02-01 22:16:27 -05:00
v1.ts refactor(uuid): small cleanups (#684) 2021-02-01 22:16:27 -05:00
v4_test.ts refactor(uuid): small cleanups (#684) 2021-02-01 22:16:27 -05:00
v4.ts refactor(uuid): small cleanups (#684) 2021-02-01 22:16:27 -05:00
v5_test.ts refactor(uuid): small cleanups (#684) 2021-02-01 22:16:27 -05:00
v5.ts refactor(uuid): small cleanups (#684) 2021-02-01 22:16:27 -05:00

UUID

Support for version 1, 4, and 5 UUIDs.

Usage

import { v4 } from "https://deno.land/std@$STD_VERSION/uuid/mod.ts";

// Generate a v4 uuid.
const myUUID = v4.generate();

// Validate a v4 uuid.
const isValid = v4.validate(myUUID);