Get password strength in text/ color/ or simple numerical score
$ npm install simple-password-strength
const {strengthScoreText} = require("simple-password-strength");
const passwordStrengthText = strengthScoreText("Pass your password here!");
console.log(passwordStrengthText)
const {strengthScoreColor} = require("simple-password-strength");
const passwordStrengthColor = strengthScoreColor("Pass your password here!");
console.log(passwordStrengthColor)
const {strengthScore} = require("simple-password-strength");
const passwordScore = strengthScore("Pass your password here!");
console.log(passwordScore)