1.0.3 • Published 3 years ago

password-strength-calc v1.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

password-strength-calc

Build Status Coverage Status

Password strength calculator written in JavaScript.

Scoring rule is based on The Password Meter.

Password strength value is from 0 to 100.

Node.js

const getPasswordStrength = require('password-strength-calc');

console.log(`'Password' strength is ${getPasswordStrength('Password')}`);

// 'Password' strength is 26

Browser

<script src="pwd-str-calc.min.js"></script>
<script>
    document.write("'Password' strength is " + getPasswordStrength('Password'));
</script>

Download

1.0.2

3 years ago

1.0.1

3 years ago

1.0.3

3 years ago

1.0.0

7 years ago