node-id
A random unique id generator
Quick Start
Install dependency
npm i node-id
Import dependency
import nodeid from 'node-id';
or
const nodeid = require('node-id');
Initialize variable
let uniqueId = nodeid();
Use id
console.log(uniqueId);
# b733982913edaacc625d864b
or
Manually input length of id from 8 to 50 characters
let uniqueId = nodeid(20);
# 387d952ec2f47b64d48b
App Info
Author
Olabiran Joshua Olaiya Mainjoe
License
This project is licensed under the MIT Lincense