Socket
Book a DemoInstallSign in
Socket

simple-email-validation

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-email-validation

> A simple module to validate an e-mail address. It works on 99.99% cases :)

1.0.2
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

simple-email-validaton

A simple module to validate an e-mail address. It works on 99.99% cases :)

Installation

Install via NPM:

npm install simple-email-validation

Usage

javascript


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

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

validator.validate_async("test@email.com", function(err, isValidEmail) {
        //Do something with isValidEmail
}); // true

TypeScript


import * as EmailValidator from 'email-validator';

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

EmailValidator.validate_async("test@email.com", ((err, isValidEmail) => {
        // Do something with isValidEmail        
}));

Contribute

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

Meta

Courtesy Sembiance

Keywords

simple

FAQs

Package last updated on 06 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.