https://github.com/ruffrey/strength
Quick and dirty password strength evaluation
https://github.com/ruffrey/strength
Last synced: about 1 year ago
JSON representation
Quick and dirty password strength evaluation
- Host: GitHub
- URL: https://github.com/ruffrey/strength
- Owner: ruffrey
- Created: 2014-09-06T15:19:28.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-09-06T16:43:44.000Z (almost 12 years ago)
- Last Synced: 2025-04-17T23:54:09.618Z (about 1 year ago)
- Language: JavaScript
- Size: 461 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Estimate password strength in javascript
On a scale of 0 = weak to 5.0 = strong.
$ npm install strength --save
[](http://badge.fury.io/js/strength)
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