Skip to content

Commit

Permalink
add more sources
Browse files Browse the repository at this point in the history
  • Loading branch information
mscno committed Jan 31, 2024
1 parent cc926d0 commit 66a3994
Show file tree
Hide file tree
Showing 5 changed files with 161,306 additions and 21 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# emailchecker

A simple Deno project to check if an email address is valid and whether it is a disposable email address.
A simple Deno project to check if an email address is valid and whether it is a
disposable email address.

The project is a simple Deno server that accepts a GET request with a parameter `email` containing an email address. It then checks the email address against a list of disposable email addresses and returns a JSON response with the result.
The project is a simple Deno server that accepts a GET request with a parameter
`email` containing an email address. It then checks the email address against a
list of disposable email addresses and returns a JSON response with the result.

The emailchecker site and API is available at https://emailchecker.deno.dev

Expand All @@ -12,7 +15,6 @@ The emailchecker site and API is available at https://emailchecker.deno.dev
curl https://emailchecker.deno.dev/api/check?email=example@example
```


### Usage

Make sure to install Deno: https://deno.land/manual/getting_started/installation
Expand All @@ -33,11 +35,10 @@ You can run the tests with:
deno test -A
```


### Refreshing the email lists

The email lists are stored in the `data` directory. To refresh them, run:

```
deno task fetch
```
```
2 changes: 1 addition & 1 deletion data/allowlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,4 @@ yahoo.com.ph
yahoo.com.vn
yeah.net
yepmail.net
your-mail.com
your-mail.com
Loading

0 comments on commit 66a3994

Please sign in to comment.