Skip to content

yuehu/password-strength

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

password-strength

Check if a password is strong enough. Available on Node and Browser.

Build Status

Installation

Install with component(1):

$ component install yuehu/password-strength

Install with npm:

$ npm install 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

About

Check if a password is strong enough.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published