Package Exports
- @hookfang/email-verifier
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@hookfang/email-verifier) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Email Verifier
This is a NPM package that allows users to verify the E-mail entered by the user. It only checks the syntax of the E-mail ID entered by the user. Gives the option to provide different domain names to change the Regex of the validator
NPM Install
npm i @hookfang/email-verifierUsage
# Import Package
import EmailVerifier from "@hookfang/email-verifier"
#Add any specific Domain names, by default Domain Name: "com"
EmailVerifier.domainsValid({ domainsValid: ["com", "bix", "gov"] });
#Verify E-mail- Returns a true value if its a valid E-mail
EmailVerifier.verify("testing@gmail.com")