node.js wrapper for jquery.complexify.js
JavaScript
Pull request Compare This branch is 6 commits behind kislyuk:master.
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, result) {
  console.log(result.complexity);
  console.log(result.valid);
});

As an executable:

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