unique_id_generator

1.0.4 • Public • Published

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

Package Sidebar

Install

npm i unique_id_generator

Weekly Downloads

0

Version

1.0.4

License

ISC

Last publish

Collaborators

  • sandipmavani