passcheck

1.0.1 • Public • Published

passcheck

Build Status NPM Version

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 }
 

Readme

Keywords

none

Package Sidebar

Install

npm i passcheck

Weekly Downloads

2

Version

1.0.1

License

MIT

Last publish

Collaborators

  • scniro