Bun

Guides

Reading files

A collection of guides for reading files with Bun

Reading files

Read a JSON file with Bun

View guide

Reading files

Check if a file exists with Bun

View guide

Reading files

Read a file to a Buffer with Bun

View guide

Reading files

Read a file as a string with Bun

View guide

Reading files

Get the MIME type of a file with Bun

View guide

Reading files

Read a file to a Uint8Array with Bun

View guide

Reading files

Read a file to an ArrayBuffer with Bun

View guide

Reading files

Watch a directory for changes with Bun

View guide

Reading files

Read a file as a ReadableStream with Bun

View guide