Installation
npm install --save @types/whois-parsed
Summary
This package contains type definitions for whois-parsed (https://github.com/moneals/whois-parsed#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/whois-parsed.
index.d.ts
export interface WhoIsResult {
domainName: string;
updatedDate?: string | undefined;
creationDate?: string | undefined;
expirationDate?: string | undefined;
registrar?: string | undefined;
status?: string[] | undefined;
isAvailable: boolean;
}
export interface BasicAuthCredentials {
password?: string | undefined;
username?: string | undefined;
}
export interface HttpProxy {
ipaddress?: string | undefined;
port?: number | undefined;
authentication?: BasicAuthCredentials | undefined;
type?: number | undefined;
}
export interface WhoIsOptions {
proxy?: HttpProxy | undefined;
}
export function lookup(domainName: string, whoIsOptions?: WhoIsOptions): Promise<WhoIsResult>;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Uche Chilaka.