0.2.0 • Published 12 months ago

is-spam-email v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

is-spam-email

Checks whether an email is spam or not.

Designed to work exclusively with the NodeJS ESM ecosystem. \ Not supported in browsers or the CJS ecosystem.

CI npm

Installtion

npm i is-spam-email

Usage

import isSpamEmail from "is-spam-email";

isSpamEmail("foobar@10dk.email");
// => true

API

isSpamEmail(email)

A predicate to check whether an email is spam or not.

1. email

Type: string \ Email to check against.

Note

It just checks against a JSON file of spam domains in an optimised way. \ If any other spam domains are missing, feel free to open a PR. \ The JSON file can be used wherever.

0.2.0

12 months ago

0.1.8

12 months ago

0.1.7

12 months ago

0.1.6

12 months ago

0.1.5

12 months ago

0.1.4

12 months ago

0.1.3

12 months ago

0.1.2

12 months ago

0.1.1

12 months ago

0.1.0

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago