Skip to main content
Module

std/node/stream.ts>Transform

Deno standard library
Go to Latest
class Transform
extends Duplex
Re-export
import { Transform } from "https://deno.land/std@0.83.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,
)