This package has been deprecated

Author message:

Renamed to @collaborne/polymer-password-strength

collaborne-polymer-password-strength

2.0.3 • Public • Published

<password-strength>

A Polymer password strength indicator, powered by zxcvbn

Build Status

This element was originally developed by Limon Monte.

<div id="random-password"></div>
<password-strength></password-strength>
 
<script>
  const passwordStrength = document.querySelector('password-strength')
  setInterval(() => {
    const random = Math.random().toString(36).substring(Math.random()*10);
    passwordStrength.password = random;
    document.querySelector('#random-password').innerText = 'Current password: ' + random;
  }, 1000);
</script> 

Installation

npm install --save polymer-password-strength

Usage

<password-strength password="[[ password ]]"></password-strength>

Package Sidebar

Install

npm i collaborne-polymer-password-strength

Weekly Downloads

1

Version

2.0.3

License

MIT

Unpacked Size

7.68 kB

Total Files

8

Last publish

Collaborators

  • collaborne-team