This is the plugin to check the provided email is valid or not. This plugin checks following things:
- valid email format
- valid tld
- valid email host
npm i email-validation-pro
yarn add email-validation-pro
var validate = require('email-validation-pro');
validate.email(email); // check without email host
validate.email(email, true); // check with email host
yarn test