bun-expert

Provide authoritative guidance on Bun APIs, tooling, and Node.js migrations.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/lammesen/skills --skill bun-expert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bun-expert
Source: https://github.com/lammesen/skills/tree/main/.claude/skills/bun-expert
Command: npx skills add https://github.com/lammesen/skills --skill bun-expert

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you leverage Bun to build high-performance JavaScript/TypeScript applications, speeding up server workloads and simplifying Node.js migrations.

Core Features & Use Cases

  • Bun Runtime APIs: Use Bun.serve, Bun.file, and Bun's built-in utilities for fast HTTP servers and file I/O.
  • Package Manager & Build: Leverage Bun's package manager and bundler for streamlined development and deployments.
  • Migration Guidance: Get best-practice steps for migrating Node.js projects to Bun with minimal risk.

Quick Start

Create a minimal Bun-based project: initialize dependencies with bun install, write a simple Bun.serve-based server, and run it with bun run. Then try bun test for local verification.

Frequently Asked Questions about bun-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate a Node.js project to Bun?

Bun migration involves replacing your Node.js runtime with Bun, updating scripts in package.json to use bun run, and leveraging bun install for faster dependency resolution. Most Node.js code runs unchanged in Bun; refer to migration guidance for compatibility edge cases and performance optimization strategies.

What are Bun's built-in APIs for building fast servers?

Bun provides Bun.serve for HTTP servers, Bun.file for file I/O, and bun:ffi for native function calls. These APIs eliminate external dependencies and deliver native performance for web servers, CLIs, and libraries without Node.js overhead.

Can I use Bun's package manager and bundler instead of npm?

Yes. Bun includes bun install for package management and bun build for bundling, both faster than npm and webpack. These built-in tools streamline development workflows and deployments without external tooling.

How do I test code in Bun?

Bun includes bun:test, a native test runner requiring no external dependencies. Write tests using standard JavaScript test syntax and run them with bun test for fast, integrated verification of your project.

What configuration does Bun use for projects?

Bun uses bunfig.toml for project configuration, managing runtime settings, build behavior, and tool options. This single config file replaces scattered Node.js configs and simplifies Bun-specific customization.

Does Bun support TypeScript out of the box?

Yes. Bun runs TypeScript files directly without compilation steps; bun run and bun test execute .ts files natively. This eliminates transpilation overhead and speeds up development for TypeScript projects.