1.0.11 • Published 8 years ago

validate-email-hostname v1.0.11

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

validate-email-hostname npm version Build status

Check if the hostname of an email has a MX or A record.

Installation

npm install --save validate-email-hostname

Usage

import validateEmailHostname from 'validate-email-hostname';

async function example() {
  let test1 = await validateEmailHostname('steve@apple.com');
  console.log(test1); // => true

  let test2 = await validateEmailHostname('nobody@ynvhunb87cjd.fr');
  console.log(test2); // => false
}

License

MIT

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

9 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago