https://github.com/kislyuk/node-complexify
node.js port of jquery.complexify.js
https://github.com/kislyuk/node-complexify
Last synced: 3 months ago
JSON representation
node.js port of jquery.complexify.js
- Host: GitHub
- URL: https://github.com/kislyuk/node-complexify
- Owner: kislyuk
- Created: 2012-12-16T09:11:12.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-02-26T22:56:29.000Z (over 11 years ago)
- Last Synced: 2025-03-18T21:09:11.081Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 238 KB
- Stars: 14
- Watchers: 4
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
node-complexify
===============node.js port of [jquery.complexify.js](https://github.com/danpalmer/jquery.complexify.js/)
## Installing
```
npm install node-complexify
```## Usage
As a module:
```javascript
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"
```