idgenerator will create for you unique ID, using your preferred character number
Usage is simple:
const randomID = require('npm-idgenerator');
console.log(randomID(length))
Length here is your number of characters
idgenerator will create for you unique ID, using your preferred character number
Usage is simple:
const randomID = require('npm-idgenerator');
console.log(randomID(length))
Length here is your number of characters
npm i @alefes/npm-idgenerator
2
1.0.1
ISC
827 B
3