pwn3d
v0.3.2
Published
Get pwned accounts from the haveibeenpwned API.
Downloads
5
Readme
pwn3d
Introduction
Get pwned accounts from the haveibeenpwned API.
Installation
npm i pwn3d
Usages
From Node:
const pwn3d = require("pwn3d"); (async () => { try { const email = "[email protected]"; const pwnedAccounts = await pwn3d.getPwnedAccounts(email); pwnedAccounts.length > 0 ? console.table(pwnedAccounts, ["Name"]) : console.log("No pwned accounts were found!"); } catch (error) { return; } })();
From CLI:
pwn3d [email protected]