An open API service indexing awesome lists of open source software.

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

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/).

![Popular passwords](http://i.imgur.com/9OzTQVk.png)

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
```