email-validator

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


Keywords
email, validation, validator, syntax
License
MIT
Install
npm install email-validator@2.0.4

Documentation

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