Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

node-email-check

teomantuncer1.4kGPL-3.0-or-later1.0.4

NodeJS Email Validator, Checker and MX Checker

node-email-check, email-checker, email-check, email-validator, node-email-checker, mx-checker, email-mx-checker, email-validate

readme

node-email-check

License: GPL v3 npm package downloads size last-commit

NodeJS Email Validator, Checker and MX Checker

You can check email address with mx check, syntax check and domain check.

Installation

npm install node-email-check

# or

yarn add node-email-check

Usage

const emailCheck = require('node-email-check');

// async request with mx check
await emailCheck.isValid('example@email.com');

// sync request without mx check
emailCheck.isValidSync('example@email.com');

Testing

npm run test

Contributing

  1. Fork it
  2. Create your feature branch: git checkout -b my-feature-or-fix
  3. Commit your changes: git commit -am 'Add some feature or fix'
  4. Push to the branch: git push origin my-feature-or-fix
  5. Submit a pull request

Contributors

Teoman Tuncer - Author (@teomantuncer) - tuncer.dev

License

GPL3.0