Skip to main content
Deno.FsFile.prototype.readable - Deno documentation
property Deno.FsFile.prototype.readable
A `ReadableStream` instance representing to the byte contents of the file. This makes it easy to interoperate with other web streams based APIs. ```ts using file = await Deno.open("my_file.txt", { read: true }); const decoder = new TextDecoder(); for await (const chunk of file.readable) { console.log(decoder.decode(chunk)); } ```

Type

ReadableStream<Uint8Array>