# validate-email-dns

> Validates email using DNS query and RegExp

Latest version **0.1.6** (published 2015-06-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install validate-email-dns
pnpm add validate-email-dns
yarn add validate-email-dns
bun add validate-email-dns
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.6 |
| Published | 2015-06-28 |
| First published | 2015-06-22 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Michał Adamski |
| Maintainers | meehow |
| Keywords | email, valid, validator, dns, regexp |

## Links

- npm: https://www.npmjs.com/package/validate-email-dns
- Repository: https://github.com/meehow/node-validate-email-dns
- Homepage: https://github.com/meehow/node-validate-email-dns#readme
- Issues: https://github.com/meehow/node-validate-email-dns/issues
- npm.io page: https://npm.io/package/validate-email-dns

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 0.1.6 (latest) — 2015-06-28
- 0.1.5 — 2015-06-28
- 0.1.4 — 2015-06-23
- 0.1.3 — 2015-06-23
- 0.1.2 — 2015-06-22
- 0.1.1 — 2015-06-22
- 0.1.0 — 2015-06-22

## README

Installation
------------

`npm install validate-email-dns`


Usage
-----

```javascript
var co = require('co');
var validate = require('validate-email-dns');

co.wrap(validate)('test@example.com').then(function(correct) {
  if (correct) {
    console.log('This email address is correct');
  } else {
    console.log('This email address is incorrect');
  }
});
```

Features
--------
* Flow based on generators
* Checks if domain name is registered and has valid `MX` or `A` record
* Domain specific rules for popular email providers

---
_Source: https://npm.io/package/validate-email-dns · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
