generate-strong-password

2.0.0 • Public • Published

A module that does https://github.com/bermi/password-generator#example-with-custom-validation-rules, with isStrongEnough and customPassword exported

Password:

  • Must contain at least two numbers
  • Must contain at least three uppercase letters
  • Must contain at least three lowercase letters
  • Must contain at least two special characters
  • Must NOT contain sequences of two or more repeated characters
const generateStrongPassword = require('generate-strong-password');
console.log(generateStrongPassword()); // => 2hP5v?1KKNx7_a-W

Package Sidebar

Install

npm i generate-strong-password

Weekly Downloads

1

Version

2.0.0

License

MIT

Unpacked Size

2.52 kB

Total Files

3

Last publish

Collaborators

  • stevemao