nice-is-email

1.0.3 • Public • Published

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

Dependencies (1)

Dev Dependencies (8)

Package Sidebar

Install

npm i nice-is-email

Weekly Downloads

5

Version

1.0.3

License

ISC

Last publish

Collaborators

  • vigour-io