UNPKG

hunspell-reader

Version:
10 lines 467 B
import type { Buffer } from 'node:buffer'; import * as stream from 'node:stream'; export type Streamable = string | Buffer; export 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; //# sourceMappingURL=iterableToStream.d.ts.map