Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

email-checkup

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

email-checkup

A email verification package. Disposable email filter and verifies that the email exists.

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

email-checkup

A email verification package. Disposable email filter and verifies that the email exists.

downloadsBadge versionBadge

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", //email to check
    blacklist: false, //by default is true.
    whitelist: ["com", "be", "ch", "fr"], //By default is ["com", "be", "ch", "fr"]
    exists: true //by default is false.
}).then(result => {
    console.log(result) // Return "true" if the email is real. And return "false" if the email is not real Warning, the package does not check if the email exists (for now)!
})

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.
  • exists - true / false (Defaults to false). This option allows you to check if the email exists !

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

Keywords

FAQs

Package last updated on 09 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc