1.0.1 • Published 3 years ago

@smallpdf/is-email v1.0.1

Weekly downloads
54
License
ISC
Repository
github
Last release
3 years ago

@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