Skip to main content
The Deno 2 Release Candidate is 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.152.0/node/_stream.d.ts";

Constructors

new
Stream(opts?: ReadableOptions)

Methods

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