
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
email-sanitizer
Advanced tools
A utility package that detects and filters out temporary or disposable email addresses to prevent spam and ensure valid user registrations.
A node utility package that detects and filters out temporary or disposable email addresses to prevent spam and ensure valid user registrations.
You can install this package via npm:
npm install email-sanitizer
To use the Email Sanitizer, you need to import the package and call the check function with the email address you want to validate. The function returns true if the email is temporary and false if it is not.
Example
import { check } from 'email-sanitizer';
const email = 'example@tempmail.com';
const isTemp = check(email);
if (isTemp) {
console.log('This is a temporary email address.');
} else {
console.log('This is a valid email address.');
}
Contributions are welcome! Please open an issue or submit a pull request on GitHub for any improvements or bug fixes.
If you encounter any issues, please report them at the GitHub issues page.
FAQs
A utility package that detects and filters out temporary or disposable email addresses to prevent spam and ensure valid user registrations.
The npm package email-sanitizer receives a total of 8 weekly downloads. As such, email-sanitizer popularity was classified as not popular.
We found that email-sanitizer demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.