Password Strength Meter plugin for jQuery
A password strength meter for jQuery. Give it a try!
npm install --save password-strength-meter
bower install --save password-strength-meter
Or much better, using yarn
yarn add password-strength-meter
For manual installations check out the releases section for tarballs.
Import the required scripts:
Ensure your password field has a wrapper div, like in Bootstrap:
And call the plugin when you wanna enable it:
Here's the list of available options you can pass to the
There are two events fired by the
This plugin was originally created in 2010 for jQuery 1.14, and the current release has been tested under jQuery 1, 2 & 3.
It should work in all browsers (even IE 666).
First you'll need to grab the code, as the npm version does not come with the source files:
git clone https://github.com/elboletaire/password-strength-meter.gitcd password-strength-meternpm installnpm test
Note: tests are just run using jQuery 3.
Why another library? Well, I found this on March 11th (of 2017) cleaning up my documents folder and noticed I made it in 2010 and never published it, so I decided to refactor it "a bit" (simply remade it from the ground-up) and publish it, so others can use it.
Created by Òscar Casajuana .
Based on unlicensed work by Firas Kassem, published in 2007 and modified by Amin Rajaee in 2009.
This code is licensed under a GPL 3.0 license.