passcheck
v1.0.1
Published
todo
Downloads
4
Readme
passcheck
a policy driven password strength checker
<npm|bower> install passcheck
api
var passcheck = require('./passcheck'); // -- nodejs. window.passcheck -- browser
passcheck.config.get()
- returns the configuration
passcheck.config.set(options)
- sets and overrides the default configuration
passcheck.eval('password')
- returns results
http://ng-passcheck.azurewebsites.net/
var result = passcheck.eval('Password123!');
// { weak: false, medium: false, strong: true, score: 76.5 }
passcheck.config.set({
common: {
test: true,
path: './passwords.json' // 10k common passwords
}
});
var result = passcheck.eval('password');
// { weak: true, medium: false, strong: false, score: 0, common: true }