1.0.1 • Published 4 years ago

simple-password-strength v1.0.1

Weekly downloads
5
License
ISC
Repository
github
Last release
4 years ago

simple-password-strength

npm (scoped)

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)