random-uuid

1.0.2 • Public • Published

random-uuid

Return a random uuid.

MIT License

build:? coverage:?

Install

$ npm install --save random-uuid 

Usage

var randomUuid = require('random-uuid');
 
// API
// - randomUuid([options]);
 
randomUuid();     
// => '0616f498-a5fe-4c10-b898-da3d1a22f11d' 
 
randomUuid({ prefix: 'r-' }); 
// => 'r-a4474ce4-f8c5-454c-82b6-8a206a7b4053'

Related

Contributing

Pull requests and stars are highly welcome.

For bugs and feature requests, please create an issue.

Dependencies (0)

    Dev Dependencies (5)

    Package Sidebar

    Install

    npm i random-uuid

    Weekly Downloads

    393

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • bubkoo