@xyz/whois
Version:
A powerful TypeScript/JavaScript tool for comprehensive domain analysis, featuring detailed WHOIS data with registration dates, registrars, and domain status. Offers SSL certificate extraction (with PEM support), DNS records, and server details. Includes
19 lines (18 loc) • 726 B
TypeScript
/**
* Finds the creation date in the raw WHOIS data
* @param rawData The raw WHOIS data
* @returns Parsed Date object or undefined if no creation date found
*/
export declare function findCreationDate(rawData: string): Date | undefined;
/**
* Finds the updated date in the raw WHOIS data
* @param rawData The raw WHOIS data
* @returns Parsed Date object or undefined if no updated date found
*/
export declare function findUpdatedDate(rawData: string): Date | undefined;
/**
* Finds the expiration date in the raw WHOIS data
* @param rawData The raw WHOIS data
* @returns Parsed Date object or undefined if no expiration date found
*/
export declare function findExpirationDate(rawData: string): Date | undefined;