mirror of
https://github.com/denoland/deno.git
synced 2024-11-23 15:16:54 -05:00
16 lines
243 B
Markdown
16 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);
|
||
|
```
|