npm.io
1.0.3 • Published 9 years ago

nice-is-email

Licence
ISC
Version
1.0.3
Deps
1
Vulns
0
Weekly
0
Stars
1

nice-is-email

Build Status js-standard-style npm version Coverage Status

var valid = isEmail(val)

Checks whether provided parameter looks like a valid e-mail address

  • val (string) - the string to check
  • returns (boolean) valid - true if val is a valid e-mail address, false otherwise
const isEmail = require('nice-is-email')
isEmail('foo@bar.com') // true
isEmail('@bar') // false

Keywords