1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-29 02:29:06 -05:00
denoland-deno/std/uuid
2021-01-11 18:13:41 +01:00
..
_common.ts chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
mod.ts chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
README.md docs(std): version all imports in README (#7442) 2020-10-04 14:18:36 +02:00
test.ts chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
v1.ts chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
v1_test.ts chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
v4.ts chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
v4_test.ts chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
v5.ts chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
v5_test.ts chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00

UUID

Support for version 1, 4, and 5 UUIDs.

Usage

import { v4 } from "https://deno.land/std@$STD_VERSION/uuid/mod.ts";

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

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