email-checkup
A email verification package. Disposable email filter and verifies that the email exists.
Installation
Use the package manager npm to install email-checkup.
npm i email-checkup
Usage
const emailcheckup = require("email-checkup");
emailcheckup({
mail: "youremailadresse@mail.com",
blacklist: false,
whitelist: ["com", "be", "ch", "fr"]
}).then(result => {
console.log(result)
})
Options
email-checkup supports 3 options :
- blacklist - true / false (Defaults to true). This option is optional. It enables a blacklist of more than 360 disposable email sites.
- whitelist - array (Defaults : ["com", "be", "ch", "fr"]). This option is optional. It enables a whitelist of all domains accepted in the email.
- mail - email (This option is not optional !). Put the email to check.
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.
License
MIT