bun-file-io

Installation
SKILL.md

Bun File I/O

Bun provides fast, optimized file operations via Bun.file() and Bun.write().

Reading Files

Bun.file()

// Create file reference (lazy, doesn't read yet)
const file = Bun.file("./data.txt");

// File properties
console.log(file.size);        // Size in bytes
console.log(file.type);        // MIME type
console.log(file.name);        // File path
console.log(await file.exists()); // Boolean
Installs
153
GitHub Stars
202
First Seen
Apr 29, 2026
bun-file-io — secondsky/claude-skills