Bun

Run, bundle, test, and serve TypeScript with Bun's integrated runtime.

Updated Feb 12, 2026
One-click install
npx skills add https://github.com/nhattran998/crossfire --skill bun-nhattran998
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: Bun
Source: https://github.com/nhattran998/crossfire/tree/main/.agents/skills/bun
Command: npx skills add https://github.com/nhattran998/crossfire --skill bun-nhattran998

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Bun removes the friction of slow Node-style development by letting you run, bundle, test, and serve TypeScript with a single modern runtime workflow.

Core Features & Use Cases

  • Fast all-in-one TypeScript runtime: Run TypeScript directly without a separate compilation step, while improving performance versus traditional Node.js setups.
  • Integrated tooling for dev and production: Use Bun’s built-in package manager, bundler, watcher, and Jest-compatible test runner to streamline the build pipeline.
  • Web-native APIs and server support: Create HTTP servers and WebSocket handlers using standards-based fetch/websocket patterns for real-time applications.

Quick Start

Ask an AI to generate a minimal Bun server that responds with JSON at /api/data on port 3000 and echoes WebSocket messages.

Frequently Asked Questions about Bun

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

FAQPage Schema
How do I run TypeScript files directly without a separate compilation step?▼

You can run TypeScript files directly without compiling by using the Bun runtime, which executes TypeScript natively alongside built-in bundling, testing, and package management for faster web development workflows.

Does Bun provide built-in tooling for testing and package management?▼

Bun provides built-in tooling for testing and package management, featuring a Jest-compatible test runner and integrated package manager commands like bun add and bun install to streamline your development pipeline.

Can I build HTTP servers and WebSocket handlers using standard web APIs in Bun?▼

You can build HTTP servers and WebSocket handlers in Bun using standards-based web APIs like fetch and WebSocket, enabling the creation of real-time applications and game backends with native runtime compatibility.

What is the best way to speed up slow Node-style development cycles for TypeScript?▼

To speed up slow Node-style development cycles, Bun resolves this friction by offering an all-in-one runtime that directly executes TypeScript while providing compatibility with common Node APIs.

Does the Bun runtime support compatibility with common Node APIs?▼

The Bun runtime supports compatibility with common Node APIs alongside web standard APIs like fetch and WebSocket, allowing you to transition existing Node.js projects and build standard-based services.

How do I create a minimal server that responds with JSON and echoes WebSocket messages?▼

To create a minimal server that responds with JSON and echoes WebSocket messages, ask an AI to generate a Bun server using fetch and WebSocket patterns, serving responses on a specified port.