super-password-generator
v1.0.0
Published
Generate strong password
Readme
Password Generator
A lightweight JavaScript/TypeScript utility for generating strong random passwords with a mix of lowercase letters, uppercase letters, numbers, and special characters.
✨ Features
- Generates strong passwords by default
- Ensures minimum password length of 8 characters
- Includes:
- Lowercase letters
- Uppercase letters
- Numbers
- Special characters
- Written in TypeScript
- Zero dependencies
📦 Installation
npm install super-password-generator🚀 Usage
TypeScript Example
import { generator } from "super-password-generator";
// Generate a password with default length (10)
const password = generator.strongPassword();
console.log(password);
// Generate a password with a custom length
const longPassword = generator.strongPassword(16);
console.log(longPassword);JavaScript Example
const { generator } = require("super-password-generator");
const password = generator.strongPassword(12);
console.log(password);🔐 Example Output
aG7@Q9!mZ2
