customizablerandompasswordgenerator
v1.0.1
Published
A simple and customizable password generator for free use.
Downloads
6
Maintainers
Readme
Customizable Random Password Generator
A simple and customizable password generator.
Installation
npm install customizablerandompasswordgenerator
USAGE
Example:Generate a 12-character password with all character types:
const { generatePassword } = require('customizablerandompasswordgenerator');
const password = generatePassword(12, { includeNumbers: true, includeSymbols: true, includeUppercase: true, includeLowercase: true });
console.log(password);
Example:Generate a password with default options:
const defaultPassword = generatePassword(12, {}); console.log(defaultPassword);
Configuration Options
generatePassword(12,{}) -> Length of Password (Default is 8) includeNumbers: true -> includes Numbers in the Password (Default: true) includeSymbols: true -> includes Special Symbols in the Password (Default: true) includeUppercase: true -> includes Upper Case Alphabets in the Password (Default: true) includeLowercase: true -> includes Lower Case Alphabets in the Password (Default: true)