easy-password-gen
v2.1.0
Published
Generate a random password
Downloads
216
Maintainers
Readme
easy-password-gen
Generate a random password
Table of Contents
Usage
import generatePassword from 'easy-password-gen'
const pass1 = generatePassword({
lowercase: true,
length: 40
})
const pass2 = generatePassword({
uppercase: true,
numbers: false,
symbols: false
})
console.log(pass1)
console.log(pass2)
Install
This project uses node and npm.
$ npm install easy-password-gen
$ # OR
$ yarn add easy-password-gen
Contribute
- Fork it and create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am "Add some feature"
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
License
MIT