1.0.6 • Published 1 year ago
tempmail-detect
Licence
—
Version
1.0.6
Deps
1
Size
3.7 MB
Vulns
0
Weekly
0
tempmail-detect
node module to detect temporary email addresses known for spam
Installation
pnpm i 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 temp mail domains in ./domains.txt
Add new mail providers
Just extend the mail domain list in ./domains.txt
Building
node build.js