# tempmail-detect

> node module to detect temporary email addresses known for spam

Latest version **1.0.6** (published 2025-07-14) · 0 weekly downloads

## Install

```sh
npm install tempmail-detect
pnpm add tempmail-detect
yarn add tempmail-detect
bun add tempmail-detect
```

## Health

**Score 35/100 (D)** — status: maintenance-mode.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2025-07-14 |
| First published | 2022-02-07 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.7 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | philippdormann |
| Keywords | spammail, spam-mail, is-tempmail, temp-mail, mail, disposable, disposable emails, detector |

## Links

- npm: https://www.npmjs.com/package/tempmail-detect
- npm.io page: https://npm.io/package/tempmail-detect

## Dependencies (1)

- [unbuild](https://npm.io/package/unbuild.md) ^3.5.0

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.0.6 (latest) — 2025-07-14
- 1.0.5 — 2025-06-25
- 1.0.4 — 2025-06-25
- 1.0.2 — 2025-04-15
- 1.0.1 — 2025-03-29
- 1.0.0 — 2025-03-27
- 0.1.0 — 2022-02-07
- 0.0.1 — 2022-02-07

## README

![Node.js Package Downloads](https://img.shields.io/npm/dm/tempmail-detect)
![npm version](https://img.shields.io/npm/v/tempmail-detect)

# tempmail-detect
node module to detect temporary email addresses known for spam

## Installation
```sh
pnpm i tempmail-detect
```

## Usage
```js
import { isTempMail } from "tempmail-detect";

console.log(isTempMail("spam@host1s.com"));
// true
console.log(isTempMail("good@email.com"));
// false
```

## Project Goals
Simple to use, 0 runtime dependency check for temporary mail addresses

## About
Find a list of the temp mail domains in [./domains.txt](./domains.txt)

## Add new mail providers
Just extend the mail domain list in [./domains.txt](./domains.txt)

## Building
```
node build.js
```

---
_Source: https://npm.io/package/tempmail-detect · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
