Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/proc/src/transformers.ts>transformerFromTransformStream

A better way to work with processes in Deno.
Latest
function transformerFromTransformStream
import { transformerFromTransformStream } from "https://deno.land/x/proc@0.22.1/src/transformers.ts";

Convert a TransformStream into a TransformerFunction. Errors occurring upstream are correctly propagated through the transformation.

Parameters

transform: { writable: WritableStream<R>; readable: ReadableStream<T>; }

Returns

A transformer.