Skip to content

alltouch/strong-pass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

strong-pass

Simple javascript password checker. It calculates password strength based on Password Meter algorithm.

Installation

$ npm install strong-pass --save

Usage

Basic example

let strength = StrongPass("Ifdsk6tew") //answer = 4

Return values

Result value is number from 1 to 5

value strength
1 Very weak
2 Weak
3 Good
4 Strong
5 Very Strong

Configuration

Minimum length for password(in progress)

let strength = StrongPass("Ifdsk6tew", { minLength: 6 }) //answer = 4

About

Simple javascript password checker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published