Skip to content

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

License

Notifications You must be signed in to change notification settings

hookFang/email-verifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Email Verifier

CodeQL NpmVersion DownloadsWeekly License

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-verifier

Usage

# 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")

About

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

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published