1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-26 00:59:24 -05:00
denoland-deno/std/uuid/README.md

16 lines
252 B
Markdown
Raw Normal View History

# UUID
Support for version 1, 4, and 5 UUIDs.
## Usage
```ts
import { v4 } from "https://deno.land/std@$STD_VERSION/uuid/mod.ts";
// Generate a v4 uuid.
const myUUID = v4.generate();
// Validate a v4 uuid.
2020-05-30 00:58:12 -04:00
const isValid = v4.validate(myUUID);
```