class internal.Transform
Usage in Deno
import { internal } from "node:stream"; const { Transform } = internal;
Transform streams are Duplex
streams where the output is in some way
related to the input. Like all Duplex
streams, Transform
streams
implement both the Readable
and Writable
interfaces.
Examples of Transform
streams include:
zlib streams
crypto streams
new
Transform(opts?: TransformOptions)
_flush(callback: TransformCallback): void
_transform(): void