Socket
Socket
Sign inDemoInstall

emailvalidation

Package Overview
Dependencies
0
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    emailvalidation

A module for validating emails using the emailvalidation.co API.


Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Email Validation

An email validation module using the emailvalidator.co API. This does more than just check syntax, this module actually validates whether the mailbox is active.

Emailvalidator.co has 4-levels of verification:

  • Level 1: The API checks for syntax issues and whether the domain belongs to any disposable email domain such as yopmail, mailinator, etc.

  • Level 2: The API checks for all the above plus if the domain name is valid, and whether the domain has hosted email servers to accept emails.

  • Level 3: The API checks whether the mailbox actually exists along with the above.

  • Level 4: The API checks whether the email server has a catch-all account.

You can signup for an account at emailvalidator.co

Installation

npm install emailvalidation --save

Usage

var Validator = require('emailvalidation');
var validator = new Validator('your-api-key');

validator.validate(email, verificationlevel, function(err, response)) {
  console.log(response.IsValid); //Returns true or false
});

Keywords

FAQs

Last updated on 22 Feb 2016

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