MCPcopy Index your code
hub / github.com/disposable/disposable

github.com/disposable/disposable @v0.2.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.2.3 ↗ · + Follow
3 symbols 4 edges 3 files 2 documented · 67% 8 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Disposable email domains

npm GoDoc

A collection of domains for disposable email services like 10MinuteMail and GuerrillaMail. Also, some 🛠 to make your life easier.

Why?

Use it to validate email addresses on sign up, or just to see how many real email addresses you have in your system.

Usage

  • list

A file containing a sorted list of domains, one per line.

curl https://raw.githubusercontent.com/andreis/disposable/master/domains.txt
  • JSON array

A file containing a sorted array of domains, in JSON format.

curl https://raw.githubusercontent.com/andreis/disposable/master/domains.json
  • javascript

Install the npm package disposable-email. Validate synchronously or with a callback.

```lang=shell npm i --save disposable-email


```lang=javascript
var disposable = require('disposable-email');

disposable.validate('gmail.com');
// true

disposable.validate('foo@gmail.com');
// true

disposable.validate('gmail.com', console.log);
// undefined
// null true
  • Go

```lang=go import "github.com/andreis/disposable"

if disposable.Domain("gmail.com") { panic("Uh oh!") }


### Update the list of domains

To update the list of domains run `.generate` (requires `python3`), and optionally submit a PR.

```lang=bash
$ ./.generate
Fetched 1110 domains
 - 312 domain(s) added
 - 110 domain(s) removed

Credits

  • https://github.com/adamloving
  • https://github.com/michenriksen
  • https://github.com/ivolo

CDN

Production: https://rawcdn.githack.com/andreis/disposable/master/domains.json

Development: https://raw.githack.com/andreis/disposable/master/domains.json

by: https://raw.githack.com/

Core symbols most depended-on inside this repo

init
called by 0
disposable.go
Domain
called by 0
disposable.go
DomainMap
called by 0
disposable.go

Shape

Function 3

Languages

Go100%

Modules by API surface

disposable.go3 symbols

For agents

$ claude mcp add disposable \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact