Documentation Index

Fetch the complete documentation index at: /docs/llms.txt

Use this file to discover all available pages before exploring further.

Skip to main content
To write a ReadableStream to disk, create a Response from the stream and pass it to Bun.write().
const stream: ReadableStream = ...;
const path = "./file.txt";
const response = new Response(stream);

await Bun.write(path, response);

See Bun.write().
Morty Proxy This is a proxified and sanitized view of the page, visit original site.