mirror of
https://github.com/denoland/deno.git
synced 2024-11-01 09:24:20 -04:00
f184332c09
* Prepend underscores to private modules * Remove collectUint8Arrays() It would be a misuse of Deno.iter()'s result. * Move std/_util/async.ts to std/async * Move std/util/sha*.ts to std/hash |
||
---|---|---|
.. | ||
tests | ||
_common.ts | ||
mod.ts | ||
README.md | ||
test.ts | ||
v1.ts | ||
v4.ts | ||
v5.ts |
UUID
Support for version 1, 3, 4, and 5 UUIDs.
Usage
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(aString);