1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00
denoland-deno/std/uuid/README.md
tokiedokie 3d65177dbc
docs(std): version all imports in README (#7442)
Use $STD_VERSION in std/ README files to automatically
display proper version.
2020-10-04 14:18:36 +02:00

252 B

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);