This is a simple password generator tool.
npm install password-gen-tool
const { generatePassword } = require('random-password-generator');
// Generate a password with default length (12 characters) and options
console.log(generatePassword());
// Generate a password with specified length (16 characters) and options
console.log(generatePassword(16, { numbers: true, symbols: false, uppercase: true, lowercase: true }));