**You can help the author become a full-time open-source maintainer by [sponsoring him on GitHub](https://github.com/sponsors/faustbrian).**
npm install @faustbrian/node-haveibeenpwnedYou can help the author become a full-time open-source maintainer by sponsoring him on GitHub.
---

```
pnpm install @faustbrian/node-haveibeenpwned
`ts
import { evaluate, pwned } from "@faustbrian/node-haveibeenpwned";
await pwned("password"); // 3_861_493
await evaluate("passwordA1%"); // true
await evaluate("password"); // false
``
This is an open-sourced software licensed under the AGPL-3.0-or-later.