Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@nymag/cid

nymag630MIT1.0.1

Generates a unique id on the client. Uses timestamp, random number, and increments.

clay, cid

readme

cid

Circle CI

🎲 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.