mirror of
https://github.com/denoland/deno.git
synced 2024-12-25 08:39:09 -05:00
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);
|
|
```
|