Have opinions about JavaScript? We want to hear them. Take the 2018 JavaScript Ecosystem Survey »

email-validator-net

1.0.2 • Public • Published

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

install

npm i email-validator-net

Downloadsweekly downloads

8

version

1.0.2

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability