Deno UUID

UUID ~~library~~ generator with Deno.

Warning: the library code of this module has been moved to https://deno.land/std/testing/mod.ts.

You can use this module to generate UUIDs in the command line, but you should use deno_std as your uuid library.

Usage

genuuid

Quickly generate random uuids:

Using deno:

$ deno run https://deno.land/x/uuid/genuuid.ts
Compile file:///Users/lucascaro/checkout/deno/deno-uuid/genuuid.ts
Download https://deno.land/std/uuid/mod.ts
Download https://deno.land/std/uuid/v4.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 as a library, refer to https://deno.land/std/testing/mod.ts:

LICENSE: MIT


View repository on GitHub