@fourcels/uniqueid

Generate unique id, work with Node.js cluster

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@fourcels/uniqueid
1.1.24 years ago4 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