Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (20 sloc) 0.485 kB

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"
Jump to Line
Something went wrong with that request. Please try again.