1.0.3 • Published 6 months ago

@types/whois-parsed v1.0.3

Weekly downloads
22
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for whois-parsed 1.0
// Project: https://github.com/moneals/whois-parsed#readme
// Definitions by: Uche Chilaka <https://github.com/uchilaka>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Fri, 02 Jul 2021 18:05:38 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Uche Chilaka.

1.0.2

7 months ago

1.0.3

6 months ago

1.0.1

3 years ago

1.0.0

4 years ago