Package Exports
- email-format-check
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (email-format-check) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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("user@domain.com"));//true
console.log(isemail("user.domain.com"));//false
Test
mocha
or npm test
check test folder and QUICKSTART.js for extra usage.