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

2.3.3 • Public • Published

Installation

npm install --save @types/stream-to-array

Summary

This package contains type definitions for stream-to-array (https://github.com/stream-utils/stream-to-array).

Details

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

index.d.ts

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

export = toArray;

/** @deprecated use built-in `Readable.toArray` */
declare function toArray(this: NodeJS.ReadableStream, callback?: (err: any, arr: any[]) => void): Promise<any[]>;
declare function toArray(stream: NodeJS.ReadableStream, callback?: (err: any, arr: any[]) => void): Promise<any[]>;

Additional Details

  • Last updated: Tue, 07 Nov 2023 20:08:00 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Bart van der Schoor, and BendingBender.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/stream-to-array

Weekly Downloads

27,833

Version

2.3.3

License

MIT

Unpacked Size

3.56 kB

Total Files

5

Last publish

Collaborators

  • types