std/uuid
Nayeem Rahman 1eecc5c7d0 BREAKING: reorganization (denoland/deno#5087)
* Prepend underscores to private modules
* Remove collectUint8Arrays() It would be a misuse of Deno.iter()'s result.
* Move _util/async.ts to async
* Move util/sha*.ts to hash
2021-02-01 10:46:57 +00:00
..
tests feat(uuid): Implement uuid v5 (denoland/deno#4916) 2021-02-01 10:46:57 +00:00
_common.ts feat(uuid): Implement uuid v5 (denoland/deno#4916) 2021-02-01 10:46:57 +00:00
mod.ts feat(uuid): Implement uuid v5 (denoland/deno#4916) 2021-02-01 10:46:57 +00:00
README.md std: remove wildcard export in uuid module (denoland/deno#3540) 2021-02-01 10:46:56 +00:00
test.ts feat(uuid): Implement uuid v5 (denoland/deno#4916) 2021-02-01 10:46:57 +00:00
v1.ts Implement UUID v1 (denoland/deno#4758) 2021-02-01 10:46:57 +00:00
v4.ts Implement UUID v1 (denoland/deno#4758) 2021-02-01 10:46:57 +00:00
v5.ts BREAKING: reorganization (denoland/deno#5087) 2021-02-01 10:46:57 +00:00

UUID

Support for version 1, 3, 4, and 5 UUIDs.

Usage

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

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

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