password-strength

0.0.1 • Public • Published

password-strength

Check if a password is strong enough.

Build Status

Installation

Install with component(1):

$ component install yuehu/password-strength

API

var valid = require('password-strength');
valid(password);
// -> {valid: true, strength: 'medium', hint: null}

.min

The min length of the password, default is 4.

.words

The password can't be these words, default is [].

License

MIT

/password-strength/

    Package Sidebar

    Install

    npm i password-strength

    Weekly Downloads

    116

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • lepture