UNPKG

ssl-checker

Version:
15 lines (14 loc) 415 B
/// <reference types="node" /> import * as https from "https"; interface IResolvedValues { valid: boolean; validFrom: string; validTo: string; daysRemaining: number; validFor?: string[]; } type Options = https.RequestOptions & { validateSubjectAltName?: boolean; }; declare const sslChecker: (host: string, options?: Partial<Options>) => Promise<IResolvedValues>; export default sslChecker;