hibp-checker
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i hibp-checker

Weekly Downloads

7

Version

1.0.0

License

MIT

Unpacked Size

5.11 kB

Total Files

7

Last publish

Collaborators

  • pthm