Installation
npm install --save @types/stream-each
Summary
This package contains type definitions for stream-each (https://github.com/mafintosh/stream-each).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stream-each.
index.d.ts
/// <reference types="node"/>
declare function each(
stream: NodeJS.ReadableStream,
iterator: (data: Buffer | string, next: (error?: Error) => void) => void,
cb: (error?: Error) => void,
): void;
export = each;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: @types/node
Credits
These definitions were written by Daniel Cassidy.