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

std/node/stream.ts>Transform

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
class Transform
extends Duplex
Re-export
import { Transform } from "https://deno.land/std@0.92.0/node/stream.ts";

Constructors

new
Transform(options?: TransformOptions)

Properties

optional
_flush: TransformFlush
_read: () => unknown
_write: (
chunk: any,
encoding: string,
callback: (error?: Error | null) => void,
) => unknown
[kCallback]: null | ((error?: Error | null) => void)

Methods

_transform(
_chunk: any,
_encoding: string,
_callback: (error?: Error | null, data?: any) => void,
)