jsgenpass
This package helps you in generating a password of random characters of requested size.
Installation
Run npm i jsgenpass
Use:
const genPass = require('jsgenpass');
console.log(genPass(10));
Parameters
The Random Password generator will generate a password of random characters.
we could choose the length of the password by passing the parameter inside the function.
By default it would generate a password of length 8 characters.