Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iam-abin/password-gen-cli
password generator cli application ⌨️
https://github.com/iam-abin/password-gen-cli
nodejs
Last synced: about 4 hours ago
JSON representation
password generator cli application ⌨️
- Host: GitHub
- URL: https://github.com/iam-abin/password-gen-cli
- Owner: iam-abin
- Created: 2024-04-15T17:46:37.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-04-15T19:49:27.000Z (7 months ago)
- Last Synced: 2024-04-15T20:31:18.218Z (7 months ago)
- Topics: nodejs
- Language: JavaScript
- Homepage:
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Installation
1. Clone the repository:
```
git clone https://github.com/iam-abin/password-gen-cli.git
```2. Navigate to the project directory:
```
cd password-gen-cli
```3. Install the dependencies ;
```
npm install
```4. To generate a random password
```
node index.js
```## To see all other available options
```
node index -h
```
![alt text](public/help.png)options eg:-
To generate password of length 13, we can use as```
node index -l 13
```---
npm link
========When you run `npm link` inside your package directory, it globally installs your package and creates a symbolic link from the global installation to your package directory.
To do that, from the project directory, run,
```
npm link
```
In ubuntu we need to use sudo before npm.Now we can run out application globally using its name.
This application can be run as,
```
passwordgen
```To unlink this,
```
npm unlink -g passwordgen
```
In ubuntu we need to use sudo command also.