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

1.2.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/stream-each

Weekly Downloads

3,036

Version

1.2.3

License

MIT

Unpacked Size

3.08 kB

Total Files

5

Last publish

Collaborators

  • types