unique_id_generator
v1.0.4
Published
generate unique ID (32bit) based on Date.now() and MD5
Downloads
3
Maintainers
Readme
unique-id-generator
Utility to generate unique ID based on Date.now() and MD5
Why?
This function is meant to return an unique ID using the value of Date.now() and MD5, it ensures that the IDs are unique (from all other IDs generated by an instances of this module)
How to use it?
1.- Install it in your project:
npm install unique_id_generator --save
2.- Require it:
var generateID = require("unique_id_generator");
3.- Use it:
var id = generateID();
//generates something like 2efbf20b658ff47900ae5be496a4c328