What problem does it solve?
This skill standardizes JavaScript/TypeScript development around Bun, eliminating inconsistent runtimes and package managers by promoting Bun-first workflows.
Core Features & Use Cases
- Bun as runtime & package manager: bun install, bun add, bun remove, bun update, and bun run for scripts.
- Script-driven workflows: Always prefer package.json scripts via bun run to ensure project configurations are respected.
- Testing and tooling with Bun: bun test and Bun's built-in tooling to run and test code, with guidance on fake timers when applicable.
- No build step under Bun development: Run code directly; bundle only when distributing with bun build.
Quick Start
On a new or existing project, install Bun, then replace npm commands with Bun equivalents:
- Install dependencies: bun install
- Add a package: bun add <package>
- Run a script: bun run <script> or bun <script> if no conflict
- Run tests: bun test
- Install Bun: curl -fsSL https://bun.sh/install | bash