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

std/node/stream.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.135.0/node/stream.ts";

Constructors

new
Stream(opts?: ReadableOptions)

Methods

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