@faustbrian/node-haveibeenpwned
v1.1.0
Published
**You can help the author become a full-time open-source maintainer by [sponsoring him on GitHub](https://github.com/sponsors/faustbrian).**
Downloads
1,411
Readme
You can help the author become a full-time open-source maintainer by sponsoring him on GitHub.
@faustbrian/node-haveibeenpwned
Installation
pnpm install @faustbrian/node-haveibeenpwned
Usage
import { evaluate, pwned } from "@faustbrian/node-haveibeenpwned";
await pwned("password"); // 3_861_493
await evaluate("passwordA1%"); // true
await evaluate("password"); // false
License
This is an open-sourced software licensed under the AGPL-3.0-or-later.