Skip to content

sandipmavani/unique_id_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published