Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/lucascaro/deno-uuid

Deprecated! UUID is part of the deno standard library
https://github.com/lucascaro/deno-uuid

deno uuid uuid-generator uuid-v4

Last synced: 30 days ago
JSON representation

Deprecated! UUID is part of the deno standard library

Lists

README

        

# Deno UUID

UUID ~~library~~ generator with [Deno](https://deno.land).

**Warning: the library code of this module has been moved to `https://deno.land/std/uuid/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:

```bash

$ 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](https://github.com/syumai/deno-libs/tree/master/denoget):

```bash

$ 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/uuid/mod.ts`:

LICENSE: MIT