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

std/node/_stream.d.ts>Stream

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
class Stream
extends EventEmitter
import { Stream } from "https://deno.land/std@0.161.0/node/_stream.d.ts";

Constructors

new
Stream(opts?: ReadableOptions)

Methods

pipe<T extends WritableStream>(destination: T, options?: { end?: boolean | undefined; }): T