bun

Document Bun JavaScript runtime APIs, bundling, package management commands, and test runner usage.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive documentation and guidance for using Bun, an all-in-one toolkit for JavaScript/TypeScript development, including its runtime, bundler, package manager, and test runner.

Core Features & Use Cases

  • Runtime Operations: Execute JavaScript/TypeScript code, use native Bun APIs, and manage environment variables.
  • Bundling & Transpilation: Bundle code, configure loaders, and develop plugins for efficient application builds.
  • Package Management: Install, add, remove, and manage packages using bun install and other CLI commands.
  • Testing: Write and run tests with features like mocking, snapshots, and code coverage.
  • Use Case: A developer needs to quickly set up a new Node.js project using Bun for its speed and integrated tooling, requiring guidance on installation, running a simple server, and bundling for production.

Quick Start

Use the bun skill to find documentation on how to install Bun and run a basic HTTP server.

Frequently Asked Questions about bun

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

FAQPage Schema
How do I set up a Bun HTTP server and WebSocket handler for JavaScript?

Bun provides native runtime APIs to create HTTP servers and handle WebSockets directly, allowing you to build network applications without external dependencies.

How do I bundle TypeScript code and configure loaders for production builds?

You can bundle TypeScript code and configure loaders using Bun's integrated bundler, which supports transpiling and plugin development for efficient application builds.

How does the Bun test runner handle mocking, snapshots, and code coverage?

The Bun test runner executes tests with built-in support for mocking, snapshots, and code coverage, providing a comprehensive testing environment out of the box.

Can I manage packages and install dependencies using Bun instead of other JavaScript package managers?

Yes, you can manage packages using `bun install` and other CLI commands to add, remove, and handle dependencies, serving as a complete JavaScript package manager.

Does the Bun runtime support native file I/O and SQLite integration?

Yes, the Bun runtime includes native APIs for file I/O operations and SQLite integration, enabling direct database and file system access within JavaScript or TypeScript code.