
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
@stackverify/email-check
Advanced tools
High-performance email validation library to detect disposable emails, verify mail capability, and estimate inbox delivery likelihood.
High-performance email validation library to detect disposable emails, verify mail capability, and estimate inbox delivery likelihood.
Maintained by Morgan Miller / StackVerify. Works in Node.js, TypeScript, ESM, and JavaScript environments.
npm install @stackverify/email-check
yarn add @stackverify/email-check
Usage ESM / TypeScript Copy code Ts
import { checkEmail } from "@stackverify/email-check";
async function validateEmail(email: string) {
const result = await checkEmail(email);
if (!result.isValid) {
console.log(`Email is invalid: ${result.reason}`);
// Handle invalid email:
// - Show error to user
// - Ask for a different email
// - Log or reject in backend
return;
}
if (result.disposable) {
console.log("Email is disposable. Request a permanent email.");
return;
}
if (result.inbox.score < 80) {
console.log("Email may not reach inbox reliably.");
// Optional: warn user or request alternate email
}
console.log("Email is valid and likely to reach inbox.");
}
validateEmail("user@gmail.com");
CommonJS (Node.js) Copy code Js
const { checkEmail } = require("@stackverify/email-check");
checkEmail("user@gmail.com").then(result => {
if (!result.isValid) {
console.log(`Invalid email: ${result.reason}`);
return;
}
if (result.disposable) {
console.log("Disposable email detected.");
return;
}
if (result.inbox.score < 80) {
console.log("Email might not reach inbox.");
}
console.log("Email is valid and likely to reach inbox.");
});
Property
import { checkEmail } from "@stackverify/email-check";
const emails = ["test@gmail.com", "temp@0815.ru", "user@nonexistentdomain.xyz"];
for (const email of emails) {
const result = await checkEmail(email);
if (!result.isValid || result.disposable || result.inbox.score < 80) {
console.log(`${email} is invalid or risky: ${result.reason || 'low inbox score'}`);
continue;
}
console.log(`${email} is valid and likely to reach inbox.`);
}
Maintained by StackVerify, part of our marketing and SaaS toolkit. Website: https://stackverify.site License MIT – free to use for personal, commercial, and SaaS projects.
FAQs
High-performance email validation library to detect disposable emails, verify mail capability, and estimate inbox delivery likelihood.
We found that @stackverify/email-check 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
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.