node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »

email-validator

email-validator

A simple module to validate an e-mail address

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

robert@cosmicrealms.com

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

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