pw-checker
v1.0.0
Published
A password strength checker that integrates Have I Been Pwned Password API with zxcvbn
Downloads
3
Readme
pw-checker
What it does
- It uses zxcvbn to check strength of password.
- It subtracts the pwn count of HIBP password API.
- It gives a rating of 0-4
- 0-2 is bad
- 3-4 is good
Usage
const pw = require('pw-checker')
// returns Promise<number> between 0-4
pw.check('123456').then(result => {
console.log('My result is ' + result)
// 0
})