mirror of
https://github.com/denoland/deno.git
synced 2024-11-30 16:40:57 -05:00
15 lines
240 B
Markdown
15 lines
240 B
Markdown
# UUID
|
|
|
|
Support for version 1, 3, 4, and 5 UUIDs.
|
|
|
|
## Usage
|
|
|
|
```ts
|
|
import { v4 } from "https://deno.land/std/uuid/mod.ts";
|
|
|
|
// Generate a v4 uuid
|
|
const myUUID = v4.generate();
|
|
|
|
// Validate a v4 uuid
|
|
const isValid = v4.validate(myUUID);
|
|
```
|