https://github.com/lap00zza/qubi
Password checklist to number
https://github.com/lap00zza/qubi
Last synced: 4 months ago
JSON representation
Password checklist to number
- Host: GitHub
- URL: https://github.com/lap00zza/qubi
- Owner: lap00zza
- License: mit
- Created: 2017-09-21T15:52:33.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-21T19:44:53.000Z (almost 9 years ago)
- Last Synced: 2025-11-12T12:59:28.165Z (8 months ago)
- Language: JavaScript
- Size: 23.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# qubi
qubi is a simple javascript library that converts a password
checklist to a numeric score. This score can then be piped to a
progress element to make a password meter. Qubi comes inbuilt
with these constraints:
* `isLength(8)`
* `isLength(14)`
* `hasNumber`
* `hasUppercase`
* `hasLowercase`
* `hasSpecialChars`
You can add/remove constraints as per your requirements. The library is very hackable.
## Using qubi
* npm - `npm install qubi`
* CDN - `https://unpkg.com/qubi@latest/qubi.js`
## Example
Check [demo.html](https://github.com/lap00zza/qubi/blob/master/demo.html)
## License
[MIT](https://github.com/lap00zza/qubi/blob/master/LICENSE)
Copyright (C) 2017 Jewel Mahanta