Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
class default
extends Duplex
import { default } from "https://deno.land/std@0.115.1/node/_stream/transform.ts";

Constructors

new
default(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,
)