You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
420 B
9 lines
420 B
/// <reference types="node" /> |
|
import * as stream from 'stream'; |
|
export declare type Streamable = string | Buffer; |
|
export declare type IterableLike<T> = Iterable<T> | IterableIterator<T>; |
|
/** |
|
* Transform an iterable into a node readable stream. |
|
*/ |
|
export declare function iterableToStream<T extends Streamable>(src: IterableLike<T>, options?: stream.ReadableOptions): stream.Readable; |
|
export default iterableToStream;
|
|
|