Skip to content
UUID module for deno
Branch: master
Clone or download
Latest commit 8a3c1c2 Mar 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
tests/v4
.gitignore
LICENSE Create LICENSE Feb 13, 2019
README.md
VERSION.json
genuuid.ts
mod.ts move functions into specific file, add isValid Feb 13, 2019
package-lock.json
package.json
test.ts use new url for deno std Mar 16, 2019
tsconfig.json
v4.ts move functions into specific file, add isValid Feb 13, 2019

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.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.