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

touchmark

v0.2.0

Published

Official TypeScript client for the Touchmark API: email, IP and phone validation.

Readme

touchmark

Official TypeScript client for the Touchmark API: email validation and mailbox checks, sender readiness, IP lookup and phone number validation. ESM, typed, no runtime dependencies; Node 20+, edge runtimes, Deno and Bun.

npm install touchmark
import { Touchmark, TouchmarkError } from "touchmark"

const tm = new Touchmark({ apiKey: process.env.TOUCHMARK_API_KEY })

const email = await tm.email.validate({ email: "[email protected]" })
const ip = await tm.ip.lookup({ ip: "203.0.113.7" })
const phone = await tm.phone.validate({ phone: "020 7946 0000", country: "GB" })

const check = await tm.email.verify({ email: "[email protected]" })
const done = check.status === "done" ? check : await tm.email.waitForVerification(check.id!)
  • Every call costs the credits of the API call it makes; see the API reference.
  • Errors throw TouchmarkError with status, code, detail, requestId and retryAfter.
  • Each charged call sends an Idempotency-Key (a random one, or yours: tm.ip.lookup(body, { idempotencyKey })), so the API charges it at most once.
  • A key belongs to one request: reuse it only to retry that same call, with the same SDK. Another body or endpoint, or more than 10 replays, answers 422 idempotency_key_reused.
  • Network errors and 429, 409 idempotency_key_in_use, 500, 502, 503 and 504 answers are retried with the same key and body, at most twice; other errors are not.
  • If you show IP country or network data to anyone, keep the credit "IP Geolocation by DB-IP" (https://db-ip.com) next to it.

Using the Touchmark API is subject to the Terms of Service and the Acceptable Use Policy. The client sends requests only to the API base URL and includes no telemetry.

MIT licence. The licence covers the code only and grants no rights to the Touchmark name or logo.