Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 634 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 634 Bytes

@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('[email protected]')); // true

License

ISC License