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

mailsafeguard

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mailsafeguard

MailSafeGuard - A package to validate and detect disposable email addresses.

  • 1.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-66.67%
Maintainers
0
Weekly downloads
 
Created
Source

MailsaFeGuard

MailsaFeGuard is a package to check if an email address is from a disposable email provider. It validates the email format, checks against a list of known disposable domains, and handles whitelisted domains.

Installation

You can install MailsaFeGuard using npm:

npm install mailsafeguard

Usage

To use MailsaFeGuard in your project, require it and call the isDisposableEmail function. This function checks whether the provided email address is from a disposable email provider.


const { isDisposableEmail } = require('MailSafeGuard');

(async () => {
    const email = 'user@example.com';
    const result = await isDisposableEmail(email);
    console.log(`Is the email ${email} disposable? ${result}`);
})();

FAQs

Package last updated on 13 Aug 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