https://github.com/asdotdev/password-generator
A simple utility tool to generate passwords in the terminal.
https://github.com/asdotdev/password-generator
command-line-interface commanderjs nodejs typescript
Last synced: 5 months ago
JSON representation
A simple utility tool to generate passwords in the terminal.
- Host: GitHub
- URL: https://github.com/asdotdev/password-generator
- Owner: asdotdev
- License: mit
- Created: 2024-09-30T09:35:29.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-09-30T20:03:00.000Z (over 1 year ago)
- Last Synced: 2025-09-11T02:48:07.277Z (9 months ago)
- Topics: command-line-interface, commanderjs, nodejs, typescript
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@asdotdev/password-generator
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# @asdotdev/password-generator
A simple utility tool to generate password in terminal.
## Installation
```
npm install --global @asdotdev/password-generator
```
or, try
```
npx @asdotdev/password-generator
npx @asdotdev/password-generator -u -n -l 16
```
## Usage
```
Usage: pwgen [options]
This utility tool helps you to generate password in terminal.
Options:
-u, --uppercase include uppercase (default: false)
-n, --numbers include numbers (default: false)
-s, --symbols include symbols (default: false)
-l, --length length of password (min: 8, max: 64) (default: 8)
-v, --version display the current version
-h, --help display help for command
```
## Examples
Default is all lowercase characters of with size 8
> pwgen
To add uppercase, numbers and symbols respectivaly
> pwgen -u -n -s
To change leangth of the password
> pwgen -l 12
## Contributing Guide
Read the [CONTRIBUTING](https://github.com/asdotdev/password-generator/blob/master/CONTRIBUTING.md) file to learn about our development process, how to propose bugfixes and improvements.
## License
`@asdotdev/password-generator` is MIT licensed, as found in the [LICENSE](https://github.com/asdotdev/password-generator/blob/master/LICENSE) file.