You Can Generate Password By using this Package
npm i secure-password-pro
const { generatePassword } = require('secure-password-pro')
const length = 10; // Optional
const number = true; // Optional
const symbol = true; // Optional
const data = generatePassword(length, number, symbol)
console.log(data)
Standard length is 8, If you provide length<8 then it will be 8 By default. Thanks.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.