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

0.1.35 • Public • Published

Installation

npm install --save @types/batch-stream

Summary

This package contains type definitions for batch-stream (https://github.com/segmentio/batch-stream).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/batch-stream.

index.d.ts

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

import stream = require("stream");

interface Options {
    size?: number | undefined;
    highWaterMark?: number | undefined;
}

declare class BatchStream extends stream.Transform {
    size: number;
    batch: any[];

    constructor(options: Options);
}

export = BatchStream;

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:04 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Nicholas Penree.

/@types/batch-stream/

    Package Sidebar

    Install

    npm i @types/batch-stream

    Weekly Downloads

    1,695

    Version

    0.1.35

    License

    MIT

    Unpacked Size

    3.27 kB

    Total Files

    5

    Last publish

    Collaborators

    • types