On a scale of 0 = weak to 5.0 = strong.
$ npm install strength --save
No dependencies.
var strength = require('strength');
var password = 'password';
var howStrong = strength(password);
console.log(howStrong); // 0
- automatically fails 10,000 most common passwords
- letters, case, numbers, special characters
- length
- repitition
npm test
MIT
Jeff Parrish @ruffrey