@types/whois-parsed
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/whois-parsed

      Weekly Downloads

      10

      Version

      1.0.3

      License

      MIT

      Unpacked Size

      4.04 kB

      Total Files

      5

      Last publish

      Collaborators

      • types