1.0.2 • Published 8 years ago

random-uuid v1.0.2

Weekly downloads
276
License
MIT
Repository
github
Last release
8 years ago

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.