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

0.1.0 • Public • Published

Installation

npm install --save @types/etherport-client

Summary

This package contains type definitions for etherport-client (https://github.com/mwittig/etherport-client/tree/master).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/etherport-client.

index.d.ts

/// <reference types="node"/>

import type { EventEmitter } from "node:events";
import type { Duplex } from "node:stream";

export interface EtherPortClientConstructorArgs {
    host: string;
    port: number;
    reconnectTimeout?: number;
}

// tslint:disable-next-line:no-unnecessary-class
export class EtherPortClient extends EventEmitter {
    path: string;
    name: string;
    host: string;
    port: number;

    constructor(options: EtherPortClientConstructorArgs);
}

export function chainSerialPorts(clientPort: EtherPortClient, serverPort: Duplex): void;

Additional Details

  • Last updated: Wed, 22 Nov 2023 01:02:40 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Andréas HANSS.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/etherport-client

Weekly Downloads

6

Version

0.1.0

License

MIT

Unpacked Size

3.82 kB

Total Files

5

Last publish

Collaborators

  • types