Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 389 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 389 Bytes

Email-mx-validator

A email validation package for NodeJS

Installation

npm install -g email-mx-validator

Usage

var ev = require('email-mx-validator');

ev.validEmail('[email protected]', function(valid) {
  // returns true, because the syntax of the given email address is correct and the email address has at least one DNS MX record.
});