1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/std/uuid
Nayeem Rahman f184332c09
BREAKING(std): reorganization (#5087)
* Prepend underscores to private modules
* Remove collectUint8Arrays() It would be a misuse of Deno.iter()'s result.
* Move std/_util/async.ts to std/async
* Move std/util/sha*.ts to std/hash
2020-05-09 08:34:47 -04:00
..
tests feat(std/uuid): Implement uuid v5 (#4916) 2020-04-27 08:49:34 -04:00
_common.ts feat(std/uuid): Implement uuid v5 (#4916) 2020-04-27 08:49:34 -04:00
mod.ts feat(std/uuid): Implement uuid v5 (#4916) 2020-04-27 08:49:34 -04:00
README.md std: remove wildcard export in uuid module (#3540) 2019-12-23 04:36:25 -05:00
test.ts feat(std/uuid): Implement uuid v5 (#4916) 2020-04-27 08:49:34 -04:00
v1.ts Implement UUID v1 (#4758) 2020-04-15 10:38:05 -04:00
v4.ts Implement UUID v1 (#4758) 2020-04-15 10:38:05 -04:00
v5.ts BREAKING(std): reorganization (#5087) 2020-05-09 08:34:47 -04: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);