UNPKG

@emailcheck/email-validator-js

Version:

Advanced email validation with MX records, SMTP verification, disposable email detection, batch processing, and caching. Production-ready with TypeScript support.

11 lines (10 loc) 593 B
import { type VerificationResult, type VerifyEmailParams } from './types'; /** Per-MX-domain port overrides — picked when no explicit `smtpPort` was passed. */ export declare const domainPorts: Record<string, number>; /** * Verify an email address — orchestrates format / disposable / free / MX / SMTP / * WHOIS / name-detection / domain-suggestion checks. Each helper below owns one * step and runs only when its flag is enabled. Early returns short-circuit on * format/domain failures. */ export declare function verifyEmail(params: VerifyEmailParams): Promise<VerificationResult>;