hunspell-reader
Version:
A library for reading Hunspell Dictionary Files
9 lines • 424 B
TypeScript
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