Package Exports
- email-domain-check
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (email-domain-check) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
email-domain-check
Checks existence of E-Mail DNS MX records.
Installation
npm install email-domain-check
Usage
const edc = require('email-domain-check');
edc("tom@hotmail.com").then(function(result){
console.log(result);//true
})
edc("tom@hotmaililililcom").then(function(result){
console.log(result);//false
})
Test
mocha
or npm test
check test folder and QUICKSTART.js for extra usage.