nice-is-email
1.0.3 • Public • Published nice-is-email
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')
isEmail('@bar')
Package Sidebar
Install
Weekly Downloads