
Product
Announcing Precomputed Reachability Analysis in Socket
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
email-syntax-check
Advanced tools
E-Mail address syntax validation module.
npm install email-syntax-check
none,official,disposable,free-email,spam-trap,role-based
const esc = require('email-syntax-check');
esc.syntaxCheck("mehmet.kozan@liev.com").then(function(res){
console.log(res.status);//none
});
//enable did you mean
esc.syntaxCheck("mehmet.kozan@liev.com",true).then(function(res){
console.log(res.did_you_mean);//mehmet.kozan@live.com
console.log(res.status);//free-email
});
esc.syntaxCheck("career@cia.gov").then(function(res){
console.log(res.status);//official
});
esc.syntaxCheck("info@microsoft.com").then(function(res){
console.log(res.status);//role-based
});
esc.syntaxCheck("bouncer@company.com").then(function(res){
console.log(res.status);//spam-trap
});
esc.syntaxCheck("tom@10minutemail.com").then(function(res){
console.log(res.status);//disposable
});
mocha
or npm test
check test folder and QUICKSTART.js for extra usage.
FAQs
A simple matcher with regex cache.
The npm package email-syntax-check receives a total of 74 weekly downloads. As such, email-syntax-check popularity was classified as not popular.
We found that email-syntax-check 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 precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.