UNPKG

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

16 lines 590 B
import { Readable, Writable } from "node:stream"; import { fromReadable, fromWritable } from "from-node-stream"; export { fromReadable, fromWritable }; /** Make TransformStream from stdio * @deprecated import {fromStdio} from 'from-node-stream' */ export 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>; //# sourceMappingURL=index.d.ts.map