Skip to content

Email address validation using the regex from the w3 specs for <input type="email">

License

Notifications You must be signed in to change notification settings

smallpdf/w3-is-email

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@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

About

Email address validation using the regex from the w3 specs for <input type="email">

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •