# email-validator

> Provides a fast, pretty robust e-mail validator. Only checks form, not function.

Latest version **2.0.4** (published 2018-05-27) · 0 weekly downloads

## Install

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

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.4 |
| Published | 2018-05-27 |
| First published | 2012-06-17 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >4.0 |
| Dependencies | 0 |
| Unpacked size | 11.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 450 |
| Author | Manish Saraan |
| Maintainers | manishsaraan, sembiance |
| Keywords | email, validation, validator, syntax |

## Links

- npm: https://www.npmjs.com/package/email-validator
- Repository: https://github.com/manishsaraan/email-validator
- Homepage: http://github.com/manishsaraan/email-validator
- Issues: https://github.com/manishsaraan/email-validator/issues
- npm.io page: https://npm.io/package/email-validator

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

- 2.0.4 (latest) — 2018-05-27
- 1.2.3 (previous) — 2018-04-18
- 2.0.3 — 2018-04-13
- 2.0.2 — 2018-04-13
- 2.0.0 — 2018-04-12
- 1.2.1 — 2018-04-12
- 1.1.1 — 2017-07-31
- 1.1.0 — 2017-07-31
- 1.0.7 — 2016-09-15
- 1.0.6 — 2016-09-15
- 1.0.5 — 2016-08-24
- 1.0.4 — 2016-01-19
- 1.0.3 — 2015-08-17
- 1.0.2 — 2015-07-01
- 1.0.1 — 2014-07-29
- … 4 more at https://npm.io/package/email-validator/versions

## README

# email-validator
A simple module to validate an e-mail address

[![travis build](https://img.shields.io/travis/manishsaraan/email-validator.svg?style=flat-square)](https://travis-ci.org/manishsaraan/email-validator)
[![version](https://img.shields.io/npm/v/email-validator.svg?style=flat-square)]((http://npm.im/email-validator))
[![downloads](https://img.shields.io/npm/dm/email-validator.svg?style=flat-square)](https://npm-stat.com/charts.html?package=email-validators&from=2015-08-01)
[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg?style=flat-square)](https://github.com/xojs/xo)

## Installation
Install via NPM:

```bash
npm install email-validator

```

## Usage

#### javascript

```javascript

var validator = require("email-validator");

validator.validate("test@email.com"); // true

```

#### TypeScript

```typescript

import * as EmailValidator from 'email-validator';

EmailValidator.validate("test@email.com"); // true


```

## Contribute

Contributions welcome! Check the ``LICENSE`` file for more info.

## Meta

* robert@cosmicrealms.com
* manish021js@gmail.com

Distributed under the unlicense public domain. See ``LICENSE`` for more information.

[https://github.com/manishsaraan/email-validator](https://github.com/manishsaraan/email-validator)

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