email-validator-ultimate
Version:
Advanced email validation library for Node.js. RFC 5322 format validation, MX records, SMTP inbox check, disposable email detection, typo suggestions, risk analysis, Gravatar detection, DNS blacklist check, batch validation, caching, and CLI tool.
27 lines (26 loc) • 552 B
JavaScript
;
/**
* Type definitions for email-validator-ultimate
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.VALIDATION_PRESETS = void 0;
/**
* Preset configurations
*/
exports.VALIDATION_PRESETS = {
quick: {
smtpCheck: false,
skipDisposableCheck: true,
cache: true,
},
standard: {
smtpCheck: false,
skipDisposableCheck: false,
cache: true,
},
thorough: {
smtpCheck: true,
skipDisposableCheck: false,
cache: false,
},
};