passgener
v1.0.2
Published
A simple and fast CLI tool to generate secure random passwords and IDs directly from your terminal.
Downloads
327
Readme
PassGener 🔐
A simple and fast CLI tool to generate secure random passwords and IDs directly from your terminal.
✨ Features
- Generate random passwords instantly
- Custom password length support
- Lightweight and fast
- Easy CLI usage
- Built with Node.js
📦 Installation
Install globally using npm:
npm install -g passgenerOr use directly with npx:
npx passgener🚀 Usage
Default Password
Generates an 8-character password:
passgenerExample output:
(Default length used) Password/Id: A8xkP21zCustom Length
Use -l or --length:
passgener -l 16or
passgener --length 16Example output:
Password/Id: mK82xPq91AbZ7LwQ⚠️ Error Handling
Missing Length
passgener -lOutput:
Provide the length value.Invalid Length
passgener -l abc
passgener --length -5Output:
Length must be a number.
Length must be greater than 0.🛠 Tech Stack
- Node.js
- ES Modules
- CLI Utilities
📄 License
MIT License
👨💻 Author
Made with ❤️ by Debottam
