An open API service indexing awesome lists of open source software.

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.

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 |