nodejs-simple-uuid

1.0.0 • Public • Published

nodejs-simple-uuid

nodejs module to generate RFC 4122 UUID v4 simply and fast.

Requires node 8.5.0 of later

Installation

npm install nodejs-simple-uuid

Usage (with CommonJS)

const uuidGenerate = require('nodejs-simple-uuid');
 
uuidGenerate();
// uuid v4: ad646ef7-58a3-4aef-4d74-61b1062bd786

You can also use a string of characters or numbers as arguments. In this case, x or y will be changed random hex number.

uuidGenerate('xxxx-test-yyyy-0123');
// custom format: 2e7d-test-b9a9-0123

Readme

Keywords

Package Sidebar

Install

npm i nodejs-simple-uuid

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

2.74 kB

Total Files

5

Last publish

Collaborators

  • evan-moon