strength

0.1.4 • Public • Published

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

Package Sidebar

Install

npm i strength

Weekly Downloads

507

Version

0.1.4

License

MIT

Last publish

Collaborators

  • ruffrey