algo-uniqueid
Version:
A lightweight and customizable TypeScript library for generating unique identifiers, secure passwords, and validating SSL certificates. Supports custom formats, batch generation, checksum validation, and built-in SSL certificate checks—perfect for order I
9 lines (8 loc) • 391 B
TypeScript
import { SSLCertificateInfo } from './types';
/**s
* Checks SSL certificate details of a given domain.
* @param {string} domain - The domain name to check (e.g., "example.com")
* @param {number} port - The port to connect to (default: 443)
* @returns {Promise<object>} Certificate details
*/
export declare function checkSSL(domain: string, port?: number): Promise<SSLCertificateInfo>;