@monyasau/emailcheck
v1.0.5
Published
A simple package that validates the supplied email address and return it's validity
Downloads
2
Readme
Contributing to emailcheck
If you would like to contribute to this project, refer to our contribution guide (https://github.com/monyasau/emailcheck/blob/main/CONTRIBUTING.md)
Installation:
npm i @monyasau/emailcheck
Usage:
yourCode.js:
const emailCheck = require("@monyasau/emailcheck") //import the package
console.log(emailCheck("[email protected]")); // returns "Email is valid"
console.log(emailCheck("hello world")); // returns "Email is invalid"
These code will return: A valid and invalid email verification respectively