node package manager

email-validator

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

email-validator

A simple module to validate an e-mail address

Install via NPM:

npm install email-validator
 
 
var validator = require("email-validator");
 
validator.validate("test@email.com"); // true 
 
validator.validate_async("test@email.com", function(err, isValidEmail) {
        //Do something with isValidEmail 
}); // true 
 
 
import * as EmailValidator from 'email-validator';
 
EmailValidator.validate("test@email.com"); // true
 
EmailValidator.validate_async("test@email.com", ((err, isValidEmail) => {
        // Do something with isValidEmail        
}));
 

We would love for you to contribute to email-validator, check the LICENSE file for more info.

Robert Schultz – http://cosmicrealms.comrobert@cosmicrealms.com

Distributed under the MIT license. See LICENSE for more information.

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