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

1.0.3 • Public • Published

Snusbase

Visit the official documentation for more information. A client for interacting with Snusbase.

NOTE

This library is not offical. It is not maintained by Snusbase.

Installation

npm install snusbase

Usage

import SnusbaseAPI from "snusbase";

const api = new SnusbaseAPI("sb-your-api-key");

(async () => {
  const results = await api.search({
    terms: ["someone@example.com"],
    types: ["email"],
  });
  console.log(results);
})();

Available Methods

search(params: SearchParams): Searches leaked databases.
getStats(): Retrieves database statistics.
ipWhois(params: IPWhoisParams): Looks up IP WHOIS information.
hashLookup(params: HashLookupParams): Performs hash lookups.

Package Sidebar

Install

npm i snusbase

Weekly Downloads

3

Version

1.0.3

License

MIT

Unpacked Size

9.51 kB

Total Files

7

Last publish

Collaborators

  • vmohammad