Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

banned-passwords

ASKJR12MIT1.0.0

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

banned, passwords, twitter, black, list

readme

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]