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

1.1.0 • Public • Published

Installation

npm install --save @types/certstream

Summary

This package contains type definitions for certstream (https://github.com/CaliDog/certstream-js#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/certstream.

declare namespace CertStreamClient {
    type Callback = (message: any, context: any) => void;
}

declare class CertStreamClient {
    context: any;
    callback: CertStreamClient.Callback;
    skipHeartbeats: boolean;

    constructor(callback: CertStreamClient.Callback, skipHeartbeats?: boolean);

    connect(url?: string): void;
}

export = CertStreamClient;
export as namespace CertStreamClient;

Additional Details

  • Last updated: Wed, 09 Apr 2025 18:02:41 GMT
  • Dependencies: none

Credits

These definitions were written by Jimmy Leung.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/certstream

Weekly Downloads

4

Version

1.1.0

License

MIT

Unpacked Size

3.38 kB

Total Files

5

Last publish

Collaborators

  • types