https://github.com/meehow/common-password
Checks if given password is popular
https://github.com/meehow/common-password
Last synced: 12 months ago
JSON representation
Checks if given password is popular
- Host: GitHub
- URL: https://github.com/meehow/common-password
- Owner: meehow
- Created: 2015-01-16T11:58:56.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-04-19T17:28:00.000Z (about 8 years ago)
- Last Synced: 2025-04-15T18:58:48.571Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 160 KB
- Stars: 6
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This package was inspired by an article "[10,000 Top Passwords](https://xato.net/passwords/more-top-worst-passwords/)" by [Mark Burnett](https://xato.net/author/mb/).

This package can be used as password requirement, but should be combined with length checking. Some passwords are not listed as popular because they don't meet length requirement in many systems. For example `1234` is listed as popular password, but `123` is not.
Installation
------------
```
npm install common-password
```
Example
-------
Check [example.js](./example.js).
```
$ node ./example.js passw0rd
password is too easy to guess
not OK
$ node ./example.js eiGoh8ou
OK
```