🎯

bun-development

🎯Skill

from xfstudio/skills

VibeIndex|
What it does

Streamlines JavaScript/TypeScript development using Bun runtime, enabling faster package management, native TypeScript support, and simplified project setup.

πŸ“¦

Part of

xfstudio/skills(250 items)

bun-development

Installation

Install ScriptRun install script
curl -fsSL https://bun.sh/install | bash
npm installInstall npm package
npm install -g bun
BunRun with Bun
bun install # or 'bun i'
BunRun with Bun
bun run index.ts
πŸ“– Extracted from docs: xfstudio/skills
4Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

"Modern JavaScript/TypeScript development with Bun runtime. Covers package management, bundling, testing, and migration from Node.js. Use when working with Bun, optimizing JS/TS development speed, or migrating from Node.js to Bun."

Overview

# ⚑ Bun Development

> Fast, modern JavaScript/TypeScript development with the Bun runtime, inspired by [oven-sh/bun](https://github.com/oven-sh/bun).

When to Use This Skill

Use this skill when:

  • Starting new JS/TS projects with Bun
  • Migrating from Node.js to Bun
  • Optimizing development speed
  • Using Bun's built-in tools (bundler, test runner)
  • Troubleshooting Bun-specific issues

---

1. Getting Started

1.1 Installation

```bash

# macOS / Linux

curl -fsSL https://bun.sh/install | bash

# Windows

powershell -c "irm bun.sh/install.ps1 | iex"

# Homebrew

brew tap oven-sh/bun

brew install bun

# npm (if needed)

npm install -g bun

# Upgrade

bun upgrade

```

1.2 Why Bun?

| Feature | Bun | Node.js |

| :-------------- | :------------- | :-------------------------- |

| Startup time | ~25ms | ~100ms+ |

| Package install | 10-100x faster | Baseline |

| TypeScript | Native | Requires transpiler |

| JSX | Native | Requires transpiler |

| Test runner | Built-in | External (Jest, Vitest) |

| Bundler | Built-in | External (Webpack, esbuild) |

---

2. Project Setup

2.1 Create New Project

```bash

# Initialize project

bun init

# Creates:

# β”œβ”€β”€ package.json

# β”œβ”€β”€ tsconfig.json

# β”œβ”€β”€ index.ts

# └── README.md

# With specific template

bun create