0.0.4 • Published 8 years ago

strong-pass v0.0.4

Weekly downloads
2
License
-
Repository
github
Last release
8 years ago

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

valuestrength
1Very weak
2Weak
3Good
4Strong
5Very Strong

Configuration

Minimum length for password(in progress)

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