node.js port of jquery.complexify.js
JavaScript
Switch branches/tags
Nothing to show
Latest commit f9ce994 Feb 27, 2014 @kislyuk kislyuk Version bump

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"