/email-validator

email syntax validator npm module. fast and pretty robust

Primary LanguageJavaScriptThe UnlicenseUnlicense

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

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