@nymag/cid
v1.0.1
Published
Generates a unique id on the client. Uses timestamp, random number, and increments.
Downloads
1,000
Readme
cid
🎲 Generates a unique id on the client. Uses timestamp, random number, and increments.
Install
npm install --save @nymag/cid
Usage
This library exports both es2015-style modules and regular old commonjs modules, so you can use browserify, rollup, or webpack to include it client-side.
Contributing
Please do! Create a pull request with a failing unit test, and we'll figure out what's up.