email-domain-check
Version:
Checks existence of E-Mail DNS MX records.
32 lines (22 loc) • 1.01 kB
Markdown
# email-domain-check
> **Checks existence of E-Mail DNS MX records.**

[](https://www.npmjs.org/package/email-domain-check)
[](https://www.npmjs.org/package/email-domain-check)
[](https://nodejs.org/)
[](https://gitlab.com/autokent/email-domain-check/pipelines)
## Installation
`npm install email-domain-check`
## Usage
```js
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.