1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-28 18:19:08 -05:00
denoland-deno/uuid
2019-09-11 12:34:44 -04:00
..
tests add UUID module (denoland/deno_std#479) 2019-07-03 11:13:22 -04:00
mod.ts add UUID module (denoland/deno_std#479) 2019-07-03 11:13:22 -04:00
README.md add UUID module (denoland/deno_std#479) 2019-07-03 11:13:22 -04:00
test.ts Make shebangs Linux compatible (denoland/deno_std#545) 2019-07-28 11:10:29 +00:00
v4.ts Make uuid v4 rfc4122 compliant (denoland/deno_std#580) 2019-09-11 12:34:44 -04:00

UUID

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

Usage

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

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

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