An open API service indexing awesome lists of open source software.

https://github.com/sandipmavani/unique_id_generator


https://github.com/sandipmavani/unique_id_generator

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

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:

```js
var id = generateID();
//generates something like 2efbf20b658ff47900ae5be496a4c328
```