bun-runtime
Installation
SKILL.md
Bun Runtime APIs
Use this skill when working with Bun's runtime environment, including file system operations, HTTP servers, environment variables, and Bun-specific APIs.
Key Concepts
Bun Globals
Bun provides several global APIs that are optimized for performance:
Bun.file()- Fast file reading with automatic content-type detectionBun.write()- High-performance file writingBun.serve()- Ultra-fast HTTP serverBun.env- Type-safe environment variablesBun.$- Shell command execution with template literals
File I/O
Bun's file APIs are significantly faster than Node.js equivalents: