node package manager

email-validator-net

A simple wrapper class for the email-validator.net API

email-validator-net

A small library providing a wrapper for api.email-validator.net with unirest

Installation

npm install email-validator-net

Usage

var emailValidator = require('email-validator-net')(apiKey);
 
var email1 = emailValidator(email, callbackFunction(returnOfCallbackFunction){ //validates email object 
  //email is a string like this: janek.rahrt@gipfel5.eu 
 
  returnOfCallbackFunction.statusCode() //gives back statuscode 
  returnOfCallbackFunction.statusString() //gives back status as string, see following 
  // => http://www.email-validator.net/email-verification-results.html 
});

Tests

npm test

Release History

  • 0.1.0 Initial release