manishsaraan / email-validator

email syntax validator npm module. fast and pretty robust
The Unlicense
436 stars 79 forks source link

email-validator

A simple module to validate an e-mail address

travis build version downloads XO code style

Installation

Install via NPM:

npm install email-validator

Try and install via Bit

Usage

javascript


var validator = require("email-validator");

validator.validate("test@email.com"); // true

TypeScript


import * as EmailValidator from 'email-validator';

EmailValidator.validate("test@email.com"); // true

Contribute

Contributions welcome! Check the LICENSE file for more info.

Meta

Distributed under the unlicense public domain. See LICENSE for more information.

https://github.com/manishsaraan/email-validator