Documentation

isDisposable helps you detect and block disposable email addresses. It ships as an open-source npm package with 150,000+ known domains and an optional API for real-time detection.

Two ways to use isDisposable

Free package — works offline, returns a boolean, zero dependencies. Perfect for most apps.
Pro API — adds real-time DNS checks, risk scoring (0-100), domain age detection, and analytics dashboard.

Install

Terminalbash
npm install @isdisposable/js

Basic usage

app.tstypescript
import { isDisposable } from '@isdisposable/js';

isDisposable('test@mailinator.com');  // true
isDisposable('user@gmail.com');       // false

That's it. One function, one line. No config, no API key, no async. Works in Node.js, Bun, Deno, and edge runtimes.

Explore the docs