bun-development

安装量: 1.3K
排名: #1083

安装

npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill bun-development

⚡ Bun Development

Fast, modern JavaScript/TypeScript development with the Bun runtime, inspired by 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

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

Initialize project

bun init

Creates:

├── package.json

├── tsconfig.json

├── index.ts

└── README.md

With specific template

bun create