1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
denoland-deno/std/uuid
2020-05-30 00:58:12 -04:00
..
tests Use ts-expect-error instead of ts-ignore. (#5869) 2020-05-26 10:02:16 -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 typo (#5948) 2020-05-30 00:58:12 -04: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(myUUID);