Wondering what’s next for npm?Check out our public roadmap! »

    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.

    Install

    npm i random-uuid

    DownloadsWeekly Downloads

    332

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • avatar