sflow
Version:
sflow is a powerful and highly-extensible library designed for processing and manipulating streams of data effortlessly. Inspired by the functional programming paradigm, it provides a rich set of utilities for transforming streams, including chunking, fil
21 lines (19 loc) • 647 B
TypeScript
import { Readable, Writable } from "node:stream";
import { fromReadable, fromWritable } from "from-node-stream";
//#region src/lib/from-node-stream/index.d.ts
/** Make TransformStream from stdio
* @deprecated import {fromStdio} from 'from-node-stream'
*/
declare function fromStdio(/** a process, which has stdin, stdout, stderr */
p: {
stdin?: Writable | null;
stdout?: Readable | null;
stderr?: Readable | null;
}, {
stderr
}?: {
stderr?: Writable | "mergeIntoStdout";
}): TransformStream<string | Uint8Array, string | Uint8Array>;
//#endregion
export { fromReadable, fromStdio, fromWritable };
//# sourceMappingURL=index.d.ts.map