A fast, simple and powerful open-source utility tool for generating strong, unique and random passwords. Password Generator is free to use as a secure password generator on any computer, phone, or tablet.
To install the Password Generator Tool, use either npm or yarn as follows:
npm i @sebastienrousseau/password-generator
yarn add @sebastienrousseau/password-generator
Clone the main repository to get all source files including build scripts: git clone https://github.com/sebastienrousseau/password-generator.git
Within the download you'll find all the password generator source files grouped into the dist folder.
You'll see something like this:
.
├── COPYRIGHT
├── LICENSE
├── Makefile
├── README.md
├── Report.txt
├── index.js
├── package.json
└── src
├── dictionaries
│ ├── adjectives.json
│ ├── adverbs.json
│ ├── animals.json
│ ├── cars.json
│ ├── cities.json
│ ├── common.json
│ ├── countries.json
│ ├── dinosaurs.json
│ ├── emoji.json
│ ├── encouraging.json
│ ├── ergative.json
│ ├── fruits.json
│ ├── gemstones.json
│ ├── hazards.json
│ ├── instruments.json
│ ├── lovecraft.json
│ ├── metals.json
│ ├── music.json
│ ├── nouns.json
│ ├── prepositions.json
│ ├── shakespeare.json
│ ├── sports.json
│ ├── strange.json
│ ├── vegetables.json
│ └── winds.json
├── lib
│ ├── base64-password.js
│ ├── memorable-password.js
│ └── strong-password.js
└── utils
├── README.md
├── randomConsonant.js
├── randomNumber.js
├── randomSyllable.js
├── randomVowel.js
├── toCamelCase
│ ├── README.md
│ └── toCamelCase.js
├── toCharArray
│ ├── README.md
│ └── toCharArray.js
├── toKebabCase
│ ├── README.md
│ └── toKebabCase.js
├── toSnakeCase
│ ├── README.md
│ └── toSnakeCase.js
└── toTitleCase
├── README.md
└── toTitleCase.js
9 directories, 50 files
node .
Displays the following help menu
Usage: password-generator [options]
A fast, simple and powerful open-source utility tool for generating strong, unique and random passwords
Options:
-v, --version output the current version
-t, --type <type> specify a password type (default: "base64, memorable or strong")
-l, --length <numbers> specify a length for each iteration
-i, --iteration <numbers> specify a number of iteration
-s, --separator <char> specify a character for the separator
-h, --help display help for command
var generatePassword = require('password-generator');
<script src="<https://raw.githubusercontent.com/sebastienrousseau/password-generator/master/src/bin/password-generator.js>" type="text/javascript"></script>
yarn start -t base64 -l 8 -i 4 -s -
node . -t base64 -l 8 -i 4 -s -
node dist/src/lib/base64-password.js -t base64 -l 8 -i 4 -s -
yarn start -t strong -l 8 -i 4 -s -
node . -t strong -l 8 -i 4 -s -
node dist/src/lib/strong-password.js -t base64 -l 8 -i 4 -s -
yarn start -t memorable -i 4 -s -
node . -t memorable -i 4 -s -
node dist/src/lib/memorable-password.js -t base64 -i 4 -s -
For transparency into our release cycle and in striving to maintain backward compatibility, password-generator
follows semantic versioning and ESLint's Semantic Versioning Policy.
Please read carefully through our Contributing Guidelines for further details on the process for submitting pull requests to us.
Development Tools
yarn build
runs build.yarn clean
removes the coverage result of npm test command.yarn coverage
shows the coverage result of npm test command.yarn lint
run ESLint.yarn lint-fix
instructs ESLint to try to fix as many issues as possible..yarn test
runs tests and measures coverage.
We are committed to preserving and fostering a diverse, welcoming community. Please read our Code of Conduct.
- We believe perfection must consider everything.
- We take our passion beyond code into our daily practices.
- We are just obsessed about creating and delivering exceptional solutions.
This project is licensed under the MIT License - see the LICENSE file for details
The Password Generator Tool is beautifully crafted by these people and a bunch of awesome contributors
Contributors |
---|
Sebastien Rousseau |
Made with ❤ in London.