passwordmeter

1.3.5 • Public • Published

passwordmeter

travis build codecov coverage version bower MIT License semantic-release

Password security checker function based on http://www.passwordmeter.com/

Unobtrusive and unit-tested.

Installation

This package is distributed via npm:

npm install passwordmeter

or Bower:

bower install passwordmeter

Usage

Require

var passwordMeter = require('passwordmeter');
//Function returns result from 0 to 100 and -1 for empty password.
//Second param is minimum password length. 8 by default
var score = passwordMeter.checkPass('pA$$w0rD', 8);

Bower

<script src="bower_components/passwordmeter/dist/index.umd.min.js"></script>
<script>
   var score = passwordMeter.checkPass('pA$$w0rD', 8);
</script> 

Package Sidebar

Install

npm i passwordmeter

Weekly Downloads

734

Version

1.3.5

License

MIT

Last publish

Collaborators

  • sneasio