Skip to content

node module to detect temporary email addresses known for spam

License

Notifications You must be signed in to change notification settings

philippdormann/tempmail-detect

Repository files navigation

Node.js Package Node.js Package Downloads npm version

tempmail-detect

node module to detect temporary email addresses known for spam

Installation

yarn add tempmail-detect

Usage

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 used temp mail services in ./services.txt

Find a list of the used temp mail domains in ./domains.txt

Add new mail providers

Just extend the mail domain list in ./domains.txt

Building

yarn
yarn build

About

node module to detect temporary email addresses known for spam

Resources

License

Stars

Watchers

Forks

Packages

No packages published