JSPM

is-valid-email

0.0.5
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1386
  • Score
    100M100P100Q106709F
  • License MIT

Validate email address

Package Exports

  • is-valid-email

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 (is-valid-email) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

is-valid-email

Validate email address

Install

npm install is-valid-email

Usage

var isValidEmail = require('is-valid-email');

isValidEmail('foo.bar-5@qux.com') // true
isValidEmail('foo+bar-5@qux.com') // true
isValidEmail('foo&bar-5@qux.com') // true
isValidEmail('foo...bar-5@qux.com') // false
isValidEmail('fooqux.com') // false

RFC 2822 section 3.4.1 Addr-spec specification

License

MIT