Menu

Post image 1
Post image 2
1 / 2
0

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

DEV Community·Kyle·28 days ago
#yi0EVGr4
Reading 0:00
15s threshold

Ever had users sign up with test@mailinator.com or fake@guerrillamail.com ? 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 ( ' test@mailinator.com ' ); // true isDisposable ( ' user@gmail.com ' ); // false check ( ' test@mailinator.com ' ); // { email: 'test@mailinator.com', domain: 'mailinator.com', isDisposable: true, reason: 'blocklist' } Enter fullscreen mode Exit fullscreen mode ## Python pip install burner-bouncer Enter fullscreen mode Exit fullscreen mode…

Continue reading — create a free account

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

Read More