JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 973925
  • Score
    100M100P100Q178289F

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

Package Exports

  • email-validator

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (email-validator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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