@types/stream-to-array

TypeScript definitions for stream-to-array

  • Types
  • ESM
  • CJS
License
MIT
Install Size
3.6 kB(2.5 MB)
Vulns
0
Published

Get started

$npm install @types/stream-to-array
$pnpm add @types/stream-to-array
$yarn add @types/stream-to-array
$bun add @types/stream-to-array
$deno add npm:@types/stream-to-array
$vlt install @types/stream-to-array
$vp add @types/stream-to-array
# Usually installed as a dev dependency
$npm install -D @types/stream-to-array
$pnpm add -D @types/stream-to-array
$yarn add -D @types/stream-to-array
$bun add -d @types/stream-to-array
$deno add -D npm:@types/stream-to-array
$vlt install -D @types/stream-to-array
$vp add -D @types/stream-to-array

Weekly DownloadsAcross all versions

Versions

View all versions
2.3.3
latestts4.5ts4.6ts4.7ts4.8ts4.9ts5.0ts5.1ts5.2ts5.3ts5.4ts5.5ts5.6ts5.7ts5.8ts5.9ts6.0
2.3.1
ts4.3ts4.4
2.3.0
ts2.0ts2.1ts2.2ts2.3ts2.4ts2.5ts2.6ts2.7ts2.8ts2.9ts3.0ts3.1ts3.2ts3.3ts3.4ts3.5ts3.6ts3.7ts3.8ts3.9ts4.0ts4.1ts4.2

Readme

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.