Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 873 Bytes

README.md

File metadata and controls

40 lines (28 loc) · 873 Bytes
permalink title
pat/passwordstrength/
Password strength

Password strength pattern.

Check the strength of a password.

Configuration

Option Type Default Description
zxcvbn string cdnjs Location to load zxcvbn from. Defaults to cdnjs

Examples

Simple

<input type="password" class="pat-passwordstrength" />

Custom zxcvbn location

<input
    type="password"
    class="pat-passwordstrength"
    data-pat-passwordstrength="zxcvbn: //lowe.github.io/tryzxcvbn/zxcvbn.js"
/>