strong-pwgen-cli
v1.1.0
Published
Generate cryptographically strong passwords.
Downloads
6
Maintainers
Readme
Strong password generator CLI
Generate cryptographically strong passwords.
This CLI tool generates unique and strong passwords. Under the hood the excellent nanoid package is used which leverages the Node.js crypto module. You can read more about the generation process and security on it's nanoid's Github page.
Table of contents
Install
This module is available on npm.
npm install -g strong-pwgen-cli
# or execute it directly with npx (since npm v5.2)
npx strong-pwgen-cli
Usage
This module provides a strong default consisting of a 32 characters long random string based on lower/uppercase alphabet, numbers and special chars. The result is getting copied directly to the clipboard.
pwgen
Options
At the moment only a single option is available. Most of the time the default behavior should suffice.
length
Adjust the length of the password.
pwgen --length 20
# or
pwgen -l 20