random-uuid
v1.0.2
Published
Return a random uuid.
Downloads
1,551
Maintainers
Readme
random-uuid
Return a random uuid.
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
- random-identity - Return a random ID.
- random-dx - Return a value equal to the roll of a die.
- random-hexhash - Return a random hex hash.
- random-normal - Return a normally-distributed random variate.
- random-rpg - Return an array of dice values.
- random-file - Return a random file name with random extension.
- random-semver - Return a random version.
Contributing
Pull requests and stars are highly welcome.
For bugs and feature requests, please create an issue.