Socket
Socket
Sign inDemoInstall

is-disposable-email-domain

Package Overview
Dependencies
2
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    is-disposable-email-domain

Check is disposable an email


Version published
Weekly downloads
433
decreased by-42.72%
Maintainers
1
Install size
2.12 MB
Created
Weekly downloads
 

Readme

Source

is-disposable-email-domain

Link to npm

A database of free and disposable email domains and a handy Node.js module for querying it.

Use the Node.js module or access the files in the ./data directory and parse with your language of choice.

In an effort to create the most up-to-date list of domains, the database can be synchronized with various lists from around the web. You can also add new domains directly by opening a pull request.

Database

There are three key data files in this project:

  • free.txt contains a list of domains that are known to provide free email service
  • disposable.txt contains a list of domains that are known to provide disposable email service
  • blacklist.txt contains a list of domains that this project will refuse to add to either list

Domains may only be a member of one list.

Node

Install

npm install --save is-disposable-email-domain
const isDisposable = require('is-disposable-email-domain');
 
isDisposable.validate('gmail.com');
// { disposable: false, free: true, blackList: false }

isDisposable.isFree('gmail.com');
// true
 
isDisposable.isDisposable('gmail.com');
// false

isDisposable.isBlackList('foo@gmail.com');
// false

Keywords

FAQs

Last updated on 10 Nov 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc