0.3.2 • Published 5 years ago

pwn3d v0.3.2

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

pwn3d

Introduction

Get pwned accounts from the haveibeenpwned API.

Installation

npm i pwn3d

Usages

  • From Node:

    const pwn3d = require("pwn3d");
    
    (async () => {
      try {
        const email = "admin@example.com";
        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 admin@example.com
0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.1

5 years ago