easy-password-gen
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

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

Package Sidebar

Install

npm i easy-password-gen

Weekly Downloads

55

Version

2.1.0

License

MIT

Unpacked Size

13.2 kB

Total Files

18

Last publish

Collaborators

  • tiaanduplessis