npm.io
0.1.35 • Published 3 years ago

@types/batch-stream

Licence
MIT
Version
0.1.35
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.5K

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 2204 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Nicholas Penree.