npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

findymail-ts

v1.0.2

Published

TypeScript wrapper for the Findymail API

Downloads

3

Readme

findymail-ts

npm license

TypeScript wrapper for the Findymail API – strongly‑typed, promise‑based, zero‑dependency runtime (uses the native Fetch API).

✨ Features

  • Full TypeScript typings for every request and response
  • Elegant wrapper around all main Findymail endpoints
  • Automatic bearer‑token injection & JSON parsing
  • Overload‑aware helpers for webhook vs. direct responses
  • Tiny bundle size – no Axios or other heavy deps

📦 Installation

npm install findymail-ts
# or
yarn add findymail-ts

Requires Node 18+ (for built‑in Fetch). If you need Node <18, polyfill with undici or node-fetch.


🚀 Quick Start

import { FindymailClient } from "findymail-ts";

const findy = new FindymailClient({
  apiKey: process.env.FINDYMAIL_API_KEY!,
});

// Verify an email
const result = await findy.verifyEmail({ email: "[email protected]" });
console.log(result.verified); // true / false

🔌 API Reference

| Method | Description | | ----------------------------------------------- | ------------------------------------------------ | | verifyEmail({ email }) | Verify a single email address | | getList() | Fetch all contact lists on your account | | createList(name) | Create a new list | | updateContactList(params, id) | Rename/share an existing list | | deleteList(id) | Delete a list | | getSavedContacts(listId) | Get contacts stored in a list | | findFromName({ name, domain, [webhook_url] }) | Find a contact by name & domain | | findFromDomain(params) | Find contacts by domain (overloaded – see below) | | findFromLinkedin(params) | Find contact by LinkedIn profile URL | | getLinkedinProfile({ linkedin_url }) | Scrape public LinkedIn profile data | | findEmployees({ website, job_titles, count }) | Discover employees from a company site | | findPhone({ linkedin_url }) | Extract phone number from a LinkedIn profile | | getRemainingCredits() | Check your remaining / verifier credits |

Overloaded findFromDomain

// 1️⃣ Synchronous – returns contacts immediately
const res = await findy.findFromDomain({
  domain: "openai.com",
  roles: ["ceo", "founder"],
});
// res.contacts -> Contact[]

// 2️⃣ Asynchronous – delivers via webhook
await findy.findFromDomain({
  domain: "openai.com",
  roles: ["marketing"],
  webhook_url: "https://yourapp.com/webhook/findymail",
});
// Returns: { payload: { contacts: Contact[] } }

Error Handling

All methods will throw on non‑200 responses, with the message provided by Findymail:

try {
  await findy.verifyEmail({ email: "[email protected]" });
} catch (e) {
  // "Not enough credits"  |  "Subscription is paused"  | etc.
  console.error(e);
}

🛠️ Building from source

git clone https://github.com/imranKhanTsx/findymail-ts.git
cd findymail-ts
npm install
npm run build

The build step emits ES2020 CommonJS plus *.d.ts files into dist/ (via tsup).


🤝 Contributing

  1. Fork & clone 🎉
  2. npm install
  3. Create a feature branch
  4. Add/adjust tests (coming soon)
  5. Submit a PR – we love contributions!

📄 License

MIT © 2025 Imran Khan