is-valid-email
Validate email address
Last updated a year ago by miguelmota .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install is-valid-email 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.5                                ...           latest (a year ago)

4 Versions

  • 0.0.5                                ...           a year ago
  • 0.0.4                                ...           2 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 4
Dependencies (0)
None
Dev Dependencies (1)

Copyright 2014 - 2016 © taobao.org |