@fourcels/uniqueid

Generate unique id, work with Node.js cluster

Stats

StarsIssuesVersionUpdatedCreatedSize
@fourcels/uniqueid
1.1.23 years ago3 years agoMinified + gzip package size for @fourcels/uniqueid in KB

Readme

Uniqueid Generator

Generate unique id, work with Node.js cluster

Installation

$ npm i @fourcels/uniqueid

Usage

const uniqueid = require('@fourcels/uniqueid')
console.log(uniqueid()) // 1536042295190625
console.log(uniqueid('D')) // D1536042345190622

License

MIT

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.