node-uid

0.1.3 • Public • Published

node-uid

generate unique id

Install

$ npm install node-uid

Test

let node_uid = require('node-uid')
node_uid() // -> 27j7nc6s2724k8297814l1c2d4dc2
node_uid(15) // -> 52fd63t7kp202g

API

node-uid is a function that receive a param that is the length of id generated, the module was tested with 10^12 id generated consecutively and the id was unique.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.3
    149
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.3
    149
  • 0.1.2
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i node-uid

Weekly Downloads

149

Version

0.1.3

License

MIT

Last publish

Collaborators

  • cereceres