bun

Bundle and minify TypeScript/React apps for production with Bun.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/mpsuesser/workspace --skill bun-mpsuesser
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bun
Source: https://github.com/mpsuesser/workspace/tree/main/dotconfig/pi/agent/skills/__techs__/bun
Command: npx skills add https://github.com/mpsuesser/workspace --skill bun-mpsuesser

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Bun helps you build, run, bundle, and test JavaScript/TypeScript projects faster than using separate Node.js, bundler, and tooling setups.

Core Features & Use Cases

  • Single-binary runtime + package manager: Run JS/TS and manage dependencies without switching tools.
  • High-performance bundling: Build modern frontends and fullstack apps with bundler features like loaders, CSS support, and minification.
  • Native test runner: Execute tests with Bun’s built-in bun test capabilities for coverage, timeouts, and watch mode.
  • Production-ready build options: Create standalone executables and deploy Bun applications across common platforms.

Quick Start

Use Bun to bundle and optimize a fullstack app from TypeScript by asking: "Bundle my TypeScript/React app for production with Bun, using Bun’s fast bundler and minification, and tell me the exact command to run."

Frequently Asked Questions about bun

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

FAQPage Schema
How do I bundle a TypeScript React app for production with a single tool?

You can bundle a TypeScript React app for production using Bun's built-in high-performance bundler, which handles module resolution, CSS support, and minification to output optimized frontend assets without separate tools.

Can I run JavaScript and TypeScript tests with built-in coverage and watch mode?

Yes, you can run JavaScript and TypeScript tests using Bun's native test runner, which executes `bun test` with built-in support for coverage, timeouts, and watch mode using Bun-compatible runtime semantics.

Does Bun work as a standalone package manager and runtime without Node.js?

Bun works as a single-binary runtime and package manager, allowing you to run JS/TS files and install dependencies without needing Node.js or switching between separate package managers and runtime environments.

What is the best way to create standalone executables from JavaScript or TypeScript?

The best way to create standalone executables from JavaScript or TypeScript is using Bun's production-ready build options, which compile your application into a standalone binary for deployment across common platforms.

How do I deploy fullstack apps without managing fragmented JavaScript tooling?

You can deploy fullstack apps without fragmented tooling by using Bun as an all-in-one toolkit, handling dependency installation, bundling, and runtime execution deterministically within a single workflow.

Are there limitations when using Bun-compatible runtime semantics for module resolution?

Bun's deterministic project workflows handle module resolution and dependency installation, but you must ensure your deployment targets support Bun-compatible runtime semantics to avoid unexpected execution behavior.