Id-Generator is a simple package that allow you to generate random and unique IDs [ greater than 3 ].
It accepts an argument of type number and returns the id of that length.
Install Via npm
npm i @moeezshahid999/id-generator
import inside your file
const id_generator = require("@moeezshahid999/id-generator");
console.log(id_generator(4)) // Random Id will be logged in the console