A collection of guides for reading files with Bun
Reading files
Read a JSON file with Bun
Reading files
Check if a file exists with Bun
Reading files
Read a file to a Buffer with Bun
Reading files
Read a file as a string with Bun
Reading files
Get the MIME type of a file with Bun
Reading files
Read a file to a Uint8Array with Bun
Reading files
Read a file to an ArrayBuffer with Bun
Reading files
Watch a directory for changes with Bun
Reading files
Read a file as a ReadableStream with Bun