email-format-check
v1.1.3
Published
E-Mail address format validation module.
Downloads
1,853
Maintainers
Readme
email-format-check
E-Mail address format validation module. Also check user and domain part max length
Installation
npm install email-format-check
Syntax email addresses verification based on RFC5321 and RFC5322.
Usage
const isemail = require('email-format-check');
console.log(isemail("[email protected]"));//true
console.log(isemail("user.domain.com"));//false
Test
mocha
or npm test
check test folder and QUICKSTART.js for extra usage.