Bun
File SystemHTTP & Networking

Stream a file as an HTTP Response

Bun.file() reads a file from disk and returns a BunFile instance, which you can pass directly to the new Response constructor.