UNPKG

@stacksjs/whois

Version:
24 lines (23 loc) 484 B
export declare interface WhoIsResponse { _raw: string parsedData: any | null } export declare enum ProxyType { SOCKS4 = 0, SOCKS5 = 1, } export declare interface ProxyData { ip: string port: number username?: string | null password?: string | null type: ProxyType } export declare interface WhoIsOptions { tld?: string | null encoding?: string | null proxy?: ProxyData | null server?: string | null serverPort?: number | null parseData?: object | null }