JSPM

@smallpdf/is-email

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 131
  • Score
    100M100P100Q83278F
  • License ISC

Email address validation using the regex from the specs for an InputHTMLElement

Package Exports

  • @smallpdf/is-email

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 (@smallpdf/is-email) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@smallpdf/is-email

Email address validation using the regex from the specs for an InputHTMLElement.

This package provide a single function to test a value against the specifications of the an email InputHTMLElement.

Installation

$ npm install @smallpdf/is-email

Usage

const isEmail = require('@smallpdf/is-email');
console.log(isEmail('test@example.org')); // true

License

ISC License