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

mailchecker

Package Overview
Dependencies
Maintainers
1
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mailchecker

Cross-language temporary (disposable/throwaway) email detection library. Covers hundreds fake email providers.

  • 6.0.11
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
384K
increased by32.45%
Maintainers
1
Weekly downloads
 
Created

What is mailchecker?

The mailchecker npm package is used to validate email addresses and check if they belong to disposable email providers. This can be useful for preventing users from signing up with temporary email addresses that may be used for spam or fraudulent activities.

What are mailchecker's main functionalities?

Validate Email Address

This feature allows you to check if an email address is valid and not from a disposable email provider. The `isValid` method returns a boolean indicating the validity of the email.

const mailchecker = require('mailchecker');

const email = 'example@example.com';
const isValid = mailchecker.isValid(email);
console.log(`Is the email valid? ${isValid}`);

Check Disposable Email

This feature allows you to specifically check if an email address is from a disposable email provider. The `isDisposable` method returns a boolean indicating whether the email is disposable.

const mailchecker = require('mailchecker');

const email = 'example@disposable.com';
const isDisposable = mailchecker.isDisposable(email);
console.log(`Is the email disposable? ${isDisposable}`);

Other packages similar to mailchecker

Keywords

FAQs

Package last updated on 02 Oct 2024

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