simple-password-strength
v1.0.1
Published
Get password strength in text/ color/ or simple numerical score
Downloads
2
Maintainers
Readme
simple-password-strength
Get password strength in text/ color/ or simple numerical score
Installation
$ npm install simple-password-strength
Usage
Get password strength's text:
const {strengthScoreText} = require("simple-password-strength");
const passwordStrengthText = strengthScoreText("Pass your password here!");
console.log(passwordStrengthText)
Get password strength's color:
const {strengthScoreColor} = require("simple-password-strength");
const passwordStrengthColor = strengthScoreColor("Pass your password here!");
console.log(passwordStrengthColor)
Get password strength score:
const {strengthScore} = require("simple-password-strength");
const passwordScore = strengthScore("Pass your password here!");
console.log(passwordScore)