1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 15:49:44 -05:00
denoland-deno/std/uuid
2020-02-11 17:24:27 +01:00
..
tests refactor: rewrite tests in std/ to use Deno.test (#3930) 2020-02-11 17:24:27 +01:00
mod.ts Happy new year! (#3578) 2020-01-02 15:13:47 -05: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 Happy new year! (#3578) 2020-01-02 15:13:47 -05: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);