# email-checker

> Check emails for typos, verify syntax and whether the domain has an MX record

Latest version **1.0.0** (published 2016-10-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install email-checker
pnpm add email-checker
yarn add email-checker
bun add email-checker
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-10-19 |
| First published | 2016-10-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+3 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Miles Hingston |
| Maintainers | mhingston |
| Keywords | email, checker, mx record |

## Links

- npm: https://www.npmjs.com/package/email-checker
- Repository: https://github.com/mhingston/email-checker
- Homepage: https://github.com/mhingston/email-checker#readme
- Issues: https://github.com/mhingston/email-checker/issues
- npm.io page: https://npm.io/package/email-checker

## Dependencies (4)

- [bluebird](https://npm.io/package/bluebird.md) ^3.4.6
- [dnscache](https://npm.io/package/dnscache.md) 0.0.4
- [mailcheck](https://npm.io/package/mailcheck.md) ^1.1.1
- [validator](https://npm.io/package/validator.md) ^6.1.0

## 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

- 1.0.0 (latest) — 2016-10-19

## README

# email-checker

Check emails for typos, verify syntax and whether the domain has an MX record.

# Install
> npm install @mhingston/email-checker

# Import (Common JS)

    const EmailCheck = require('email-checker').default;

# Import (ES2015)
  
    import EmailCheck from 'email-checker';
	
# Usage
	
	EmailCheck.mxCheck(email: string, options:? any): Promise<boolean>

You can also optionally pass in a [configuration object](https://github.com/yahoo/dnscache#configuration).

	EmailCheck.spellCheck(email: string, options:? any): Promise<string>

You can also optionally pass in a [configuration object](https://github.com/mailcheck/mailcheck#usage-without-jquery).

 	EmailCheck.syntaxCheck(email: string): boolean

Finally, the following will perform all 3 of the above.

	EmailCheck.check(email: string, options:? any): Promise<any>

The optional `options` object should be formatted as follows:

	{
		dnscache:
		{
			...
		},
		mailCheck:
		{
			...
		}

	}

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