2.1.0 • Published 4 years ago

easy-password-gen v2.1.0

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

easy-password-gen

package version package downloads standard-readme compliant package license make a pull request

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

  1. Fork it and create your feature branch: git checkout -b my-new-feature
  2. Commit your changes: git commit -am "Add some feature"
  3. Push to the branch: git push origin my-new-feature
  4. Submit a pull request

License

MIT