banned-passwords

1.0.0 • Public • Published

banned-passwords

Verify if a password is in the Twitter's List Of Banned Passwords.

Install

$ npm install banned-passwords --save

Usage

const banned = require('banned-passwords');
 
banned.all();
//=> ['123456', ...]
 
banned.contains('123456');
//=> 'true'
 
banned.contains('2e8a6*2p7~Lu;_LWs&Ef');
//=> 'false'
 

License

MIT © [Alberto Kato]

Package Sidebar

Install

npm i banned-passwords

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

6.82 kB

Total Files

6

Last publish

Collaborators

  • albertokato