Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hookfang/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
https://github.com/hookfang/email-verifier
email email-verifier module npm npm-module npm-package npmjs regex validate
Last synced: 1 day ago
JSON representation
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
- Host: GitHub
- URL: https://github.com/hookfang/email-verifier
- Owner: hookFang
- License: mit
- Created: 2020-12-26T05:13:52.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-12T16:05:22.000Z (over 1 year ago)
- Last Synced: 2024-04-25T23:44:38.104Z (5 months ago)
- Topics: email, email-verifier, module, npm, npm-module, npm-package, npmjs, regex, validate
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@hookfang/email-verifier
- Size: 10.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Email Verifier
![CodeQL](https://github.com/hookFang/email-verifier/workflows/CodeQL/badge.svg)
[![NpmVersion](https://img.shields.io/npm/v/@hookfang/email-verifier?label=NPM&logo=npm)](https://www.npmjs.com/package/@hookfang/email-verifier)
![DownloadsWeekly](https://img.shields.io/npm/dw/@hookfang/email-verifier?color=blue&label=Downloads&logo=npm)
[![License](https://img.shields.io/npm/l/@hookfang/email-verifier?color=black&label=License)](https://github.com/hookFang/email-verifier/blob/master/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
```sh
# 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("[email protected]")