1.0.0 • Published 6 years ago

hibp-checker v1.0.0

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

hibp-checker

Anonymously query the haveibeenpwned.com API to fetch the number of times a password has appeard in breached data sets using K-anonymity

Installation

npm install --save hibp-checker

Usage

const checkPassword = require('hibp-checker');
const breachCount = await checkPassword('hunter2');
console.log(`Breached ${breachCount} times`);

Reading