1.0.0 • Published 2 years ago

common-passwords v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

CommonPasswords.js

CommonPasswords is a list of common passwords implemented to provide NIST best practices of preventing usage of the 100,000 most used passwords.

This module is based on the library CommonPasswords created by Wikimedia for PHP. All credits go to the original authors.

Installation

$ npm install common-passwords

Usage

const CommonPasswords = require('common-passwords');

CommonPasswords.isCommon('abc123'); // TRUE
CommonPasswords.isCommon('metallica'); // TRUE
CommonPasswords.isCommon('my_super_secure_password'); // FALSE

Password list

The source password list can be found on GitHub