1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-28 10:09:20 -05:00
denoland-deno/std/uuid
2020-03-28 13:03:49 -04:00
..
tests Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
mod.ts Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -04:00
README.md std: remove wildcard export in uuid module (#3540) 2019-12-23 04:36:25 -05:00
test.ts refactor: rewrite tests in std/ to use Deno.test (#3930) 2020-02-11 17:24:27 +01:00
v4.ts Update to Prettier 2 and use ES Private Fields (#4498) 2020-03-28 13:03:49 -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);