Skip to main content
internal.Transform - node__stream.d.ts - Node documentation
class internal.Transform
extends Duplex

Usage in Deno

```typescript import { internal } from "node:node__stream.d.ts"; ```
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`

Constructors

new
Transform(opts?: TransformOptions)

Methods

_flush(callback: TransformCallback): void
_transform(
chunk: any,
encoding: BufferEncoding,
): void