@badcj/emailexists
v1.0.3
Published
@badcj/emailExists is a simple and lightweight JavaScript library for validating email with regex and mainly checking if the email exists in real or not.
Downloads
17
Maintainers
Readme
@badcj/emailExists
@badcj/emailExists is a simple and lightweight JavaScript library for validating email with regex and mainly checking if the email exists in real or not.
Installation
Use the node package manager to install @badcj/colours.
npm install @badcj/emailexists
Usage
const validate = require("@badcj/emailexists");
async function validateFunction(email){
const isReal = await validate(email)
console.log({isReal})
}
validateFunction("[email protected]") //correct , will print {isReal:true}
validateFunction("[email protected]") //incorrect , con instead of com , will print {isReal:false}
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.