
Security News
152 Chrome Live Wallpaper Extensions Hid Ad Tracking and Faked Google Search Traffic
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.
block-temp-mail
Advanced tools
A lightweight package to detect and block disposable or temporary email addresses, helping prevent spam and fake account registrations.
A lightweight Node.js package to detect disposable/temporary email addresses. Protect your app from fake signups by verifying whether an email belongs to a temporary mail service.
npm install block-temp-mail
import { verifyEmail } from "block-temp-mail";
const result = await verifyEmail("user@tempmail.com");
console.log(result);
const { verifyEmail } = require("block-temp-mail");
async function check() {
const result = await verifyEmail("user@tempmail.com");
console.log(result);
}
check();
verifyEmail(email: string): Promise<VerifyEmail>Checks whether the given email is a disposable/temporary email address.
Parameters:
| Parameter | Type | Description |
|---|---|---|
email | string | The email address to verify |
Returns: Promise<VerifyEmail>
type VerifyEmail = {
success: boolean;
message: string;
data: {
isTemporary: boolean;
isValid: boolean;
message: string;
};
};
Temporary email detected:
{
"success": true,
"message": "Email verified successfully.",
"data": {
"isTemporary": true,
"isValid": true,
"message": "Temporary email."
}
}
Valid, non-temporary email:
{
"success": true,
"message": "Email verified successfully.",
"data": {
"isTemporary": false,
"isValid": true,
"message": "Valid email."
}
}
Invalid email format:
{
"success": false,
"message": "Invalid email format.",
"data": {
"isTemporary": false,
"isValid": false,
"message": "Invalid email."
}
}
MIT - Tara Chand Kumawat
FAQs
A lightweight package to detect and block disposable or temporary email addresses, helping prevent spam and fake account registrations.
We found that block-temp-mail demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.