password-strength

Check if a password is strong enough.

password-strength

Check if a password is strong enough.

Install with component(1):

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

The min length of the password, default is 4.

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

MIT