coffeenode-zxcvbn

1.0.1 • Public • Published

CoffeeNode ZXCVBN

Derived from node-zxcvbn, which itself is zxcvbn, a password strength calculator, packaged as a node.js module. Authored by Dan Wheeler at Dropbox; published to npm by Michael Smith.

See the original for more details.

This module has the distinction to include all files resulting from various build steps that are not terribly obvious even from the original README. The JS code that you get with require( 'coffeenode-zxcvbn' ) is optimized using the ClosureJS compiler, resulting in a filesize of roughly 700MB.

How to use

In CoffeeScript:

zxcvbn = require 'coffeenode-zxcvbn'
report = zxcvbn password

report is a Plain Old Dictionary; the interesting attributes are report[ 'crack_time_display' ], report[ 'crack_time' ], report[ 'score' ], and report[ 'entropy' ]; please refer to the original documentation linked above.

Package Sidebar

Install

npm i coffeenode-zxcvbn

Weekly Downloads

4

Version

1.0.1

License

MIT

Last publish

Collaborators

  • loveencounterflow