Socket
Book a DemoInstallSign in
Socket

generate-strong-password

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generate-strong-password

https://github.com/bermi/password-generator#example-with-custom-validation-rules

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

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

Keywords

password

FAQs

Package last updated on 17 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts