使用 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