JSPM

email-format-check

1.1.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 53
  • Score
    100M100P100Q77029F
  • License MIT

E-Mail address format validation module.

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

logo

version downloads node status

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.