Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1 KB

README.md

File metadata and controls

38 lines (29 loc) · 1 KB

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