JSPM

@hookfang/email-verifier

1.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q21690F
  • License MIT

Email Sytanx Validation

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

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