@ivanhanak_com/email-validation
v1.0.1
Published
A simple & lightweight js library to validate an email address
Downloads
4
Readme
email-validation
A simple & lightweight (>0.1kb) js library to validate an email address.
This validator implements RFC 2822 regex.
Changelog
See the whole Changelog.
Install
Using npm:
npm install @ivanhanak_com/email-validation
Using yarn:
yarn add @ivanhanak_com/email-validation
Import
import validateEmail from '@ivanhanak_com/email-validation';
Usage
const emailAddress = "[email protected]";
const isEmailValid = validateEmail(emailAddress);
Browser support
IE10+