https://github.com/manishsaraan/email-validator
email syntax validator npm module. fast and pretty robust
https://github.com/manishsaraan/email-validator
Last synced: 12 months ago
JSON representation
email syntax validator npm module. fast and pretty robust
- Host: GitHub
- URL: https://github.com/manishsaraan/email-validator
- Owner: manishsaraan
- License: unlicense
- Created: 2012-06-17T21:42:10.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2023-09-20T17:41:12.000Z (over 2 years ago)
- Last Synced: 2025-05-10T03:09:22.435Z (12 months ago)
- Language: JavaScript
- Size: 51.8 KB
- Stars: 438
- Watchers: 4
- Forks: 80
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-github-projects - email-validator - email syntax validator npm module. fast and pretty robust ⭐448 `JavaScript` (📦 Legacy & Inactive Projects)
README
# email-validator
A simple module to validate an e-mail address
[](https://travis-ci.org/manishsaraan/email-validator)
[]((http://npm.im/email-validator))
[](https://npm-stat.com/charts.html?package=email-validators&from=2015-08-01)
[](https://github.com/xojs/xo)
## Installation
Install via NPM:
```bash
npm install email-validator
```
[Try and install via Bit](https://bitsrc.io/manishsaraan/email-validator/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
* 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)