Menu

1 / 2

I built burner-bouncer: a zero-dependency disposable email detector for JavaScript and Python

DEV Community·Kyle·7 months ago
#yi0EVGr4
Reading 0:00
15s threshold

Ever had users sign up with [email protected] or [email protected] ? Disposable email addresses are a headache for any app that relies on real user contact.

I built burner-bouncer to solve this — a zero-dependency library that detects disposable/burner email domains instantly, with no API calls and no external requests.

Features

🚫 629 real disposable domains blocked out of the box

⚡ Zero runtime dependencies

🟦 TypeScript-first (ESM + CJS)

🐍 Python 3.8+ support

🔁 Identical API in both languages

## JavaScript / TypeScript

npm install burner-bouncer

Enter fullscreen mode

Exit fullscreen mode

import { isDisposable , check } from ' burner-bouncer ' ;

isDisposable ( ' [email protected] ' ); // true isDisposable ( ' [email protected] ' ); // false

check ( ' [email protected] ' ); // { email: '[email protected]', domain: 'mailinator.com', isDisposable: true, reason: 'blocklist' }

Enter fullscreen mode

Exit fullscreen mode

## Python

pip install burner-bouncer

Enter fullscreen…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.