strength

Quick and dirty password strength evaluation

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
strength
620.1.48 years ago8 years agoMinified + gzip package size for strength in KB

Readme

Estimate password strength in javascript
On a scale of 0 = weak to 5.0 = strong.
$  npm install strength --save
NPM version
No dependencies.

Usage

var strength = require('strength');

var password = 'password';

var howStrong = strength(password);

console.log(howStrong); // 0

Password criteria

  • automatically fails 10,000 most common passwords
  • letters, case, numbers, special characters
  • length
  • repitition

Tests

npm test

License

MIT

Author

Jeff Parrish @ruffrey