bun-runtime
Installation
SKILL.md
Bun Runtime
Overview
Bun is an all-in-one JavaScript runtime designed for speed, with built-in package manager, test runner, and bundler. This skill should be invoked when you need fast JavaScript/TypeScript execution, a streamlined development experience, or want to reduce toolchain complexity.
Core Principles
- All-in-One: Use Bun for runtime, package management, testing, and building
- Speed First: Bun is significantly faster than Node.js for most operations
- Node Compatibility: Most Node.js code works with Bun
- Built-in APIs: Use Bun's native APIs (Bun.file, Bun.serve, etc.)
Preparation Checklist
- Install Bun:
curl -fsSL https://bun.sh/install | bash - Verify installation:
bun --version - Review Bun's API differences from Node.js
- Check compatibility of required packages