1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00
denoland-deno/std/uuid
Kitson Kelly 9837d324a7 Update to TypeScript 3.7 (#3275)
and update to prettier 1.19

Also, update `assert()` and remove not null assertions where possibly
in `cli`.

Closes #3273
2019-11-13 13:42:34 -05:00
..
tests Move everything into std subdir 2019-10-09 17:10:09 -04:00
mod.ts Move everything into std subdir 2019-10-09 17:10:09 -04:00
README.md Move everything into std subdir 2019-10-09 17:10:09 -04:00
test.ts Move everything into std subdir 2019-10-09 17:10:09 -04:00
v4.ts Update to TypeScript 3.7 (#3275) 2019-11-13 13:42:34 -05: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);