Skip to content
UUID module for deno
Branch: master
Clone or download
Pull request Compare This branch is 5 commits behind lucascaro:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
tests/v4
.gitignore
LICENSE
README.md
VERSION.json
genuuid.ts
mod.ts
package-lock.json
package.json
test.ts
tsconfig.json
v4.ts

README.md

Deno UUID

UUID library for Deno.

Usage

genuuid

Quickly generate random uuids:

Using deno:

$ deno https://deno.land/x/uuid/genuuid.ts
Downloading https://deno.land/x/uuid/generate.ts...
Downloading https://deno.land/x/uuid/mod.ts...
ca137e5f-575e-4810-8229-80b6468c54fb

$ deno https://deno.land/x/uuid/genuuid.ts 3
36b6520f-3f6c-48df-8554-ec8b9422e942
47e6e147-405a-4b56-8cb6-05e5da7b3fb7
591b143a-ae5a-453a-8875-316fa143ab42

Or install as command via denoget:

$ denoget https://deno.land/x/uuid/genuuid.ts

$ genuuid
19e5ca15-4b1e-4329-87bb-bbb38b61dcd7

Library

For use in other packages, simply import the function:

import { uuid } from " https://deno.land/x/uuid/mod.ts";

const myUUID = uuid();

LICENSE: MIT

You can’t perform that action at this time.