Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

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

Install

npm i strength

DownloadsWeekly Downloads

176

Version

0.1.4

License

MIT

Last publish

Collaborators

  • avatar