https://github.com/saketkothari/passgen
A simple command-line app using Node.js along with Commander and Chalk to generate random passwords. It saves Password to a File.
https://github.com/saketkothari/passgen
Last synced: 7 months ago
JSON representation
A simple command-line app using Node.js along with Commander and Chalk to generate random passwords. It saves Password to a File.
- Host: GitHub
- URL: https://github.com/saketkothari/passgen
- Owner: SaketKothari
- Created: 2021-07-05T20:15:15.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-07-20T05:26:01.000Z (about 2 years ago)
- Last Synced: 2025-01-26T02:27:57.496Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Command Line Password Generator
- Node.js command line app to generate random passwords.
- Use commander.js - The complete solution for node.js command-line interfaces.
- Use chalk which is 🖍 Terminal string styling done right.
- Use clipboardy which access the system clipboard (copy/paste).## Usage
Install dependencies
```
npm install
```Run file
```
node index (options)
```To create a symlink to run "passgen" from anywhere
```
npm link# Now you can run
passgen (options)# To remove symlink
npm unlink
```## Options
| Short | Long | Description |
| ----- | ----------------- | ------------------------------- |
| -l | --length | length of password (default: 8) |
| -s | --save | save password to passwords.txt |
| -nn | --no-numbers | remove numbers |
| -ns | --no-symbols | remove symbols |
| -h | --help | display help for command |
| -V | --version | Show the version |