node.js port of jquery.complexify.js
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
Makefile
README.md
complexify
package.json

README.md

node-complexify

node.js port of jquery.complexify.js

Installing

npm install node-complexify

Usage

As a module:

var complexify = require('node-complexify');

complexify.evalPasswordComplexity("MadHatter", function(err, valid, complexity) {
  console.log(complexity);
  console.log(valid);
});

As an executable:

complexify "MadHatter" || echo "Password not complex enough"