UNPKG

@types/stream-each

Version:
29 lines (21 loc) 882 B
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/stream-each/index.d.ts) ````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](https://npmjs.com/package/@types/node) # Credits These definitions were written by [Daniel Cassidy](https://github.com/djcsdy).