mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -05:00
6a0858bd5d
Original: f52b3ec002
15 lines
243 B
Markdown
15 lines
243 B
Markdown
# UUID
|
|
|
|
Support for version 1, 3, 4, and 5 UUIDs.
|
|
|
|
## Usage
|
|
|
|
```ts
|
|
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);
|
|
```
|