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.
interface ReadStream
implements Readable, Stream
import { type ReadStream } from "https://deno.land/std@0.164.0/node/internal/fs/streams.ts";

Properties

[kFs]: ReadFS
end: number
bytesRead: number
function ReadStream
import { ReadStream } from "https://deno.land/std@0.164.0/node/internal/fs/streams.ts";

Parameters

this: ReadStream | unknown
path: string | Buffer | URL
optional
options: BufferEncoding | (ReadStreamOptions & ReadableOptions)