1.0.1 • Published 6 months ago
bharat-id-generator v1.0.1
Unique-ID-Generator
Follow the steps below to use the module.
1) Install the package by running
npm install bharat-id-generator
2) Import and Call the function as follows :
import generateUID from "./index.js";
const id = generateUID("TEST");
// Here the string "TEST" is the prefix that one can add to their UIDs.
console.log('id -->' + id );