Module

std/node/stream.ts>Transform

Deno standard library
Go to Latest
class Transform
extends Duplex
import { Transform } from "https://dotland.deno.dev/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,
)
import Transform
import { Transform } from "https://dotland.deno.dev/std@0.92.0/node/stream.ts";