Assists with using Bun as an all-in-one JavaScript/TypeScript runtime, package manager, bundler, and test runner. Use when building HTTP servers, managing packages, running tests, or migrating from Node.js. Trigger words: bun, bun serve, bun install, bun test, bun build, javascript runtime, bun runtime.
Bun is an all-in-one JavaScript/TypeScript runtime that replaces Node.js, npm, webpack, and Jest with a single binary. It provides native TypeScript support, a high-performance HTTP server (Bun.serve()), a fast package manager, a bundler, and a Jest-compatible test runner with dramatically faster performance.
Bun.serve() which handles 100K+ req/s with built-in WebSocket support, TLS, and streaming responses.bun install (10-30x faster than npm), bun add, bun remove, and prefer bun.lock (text format) for readable git diffs.Bun.build() with appropriate target ("browser", "bun", "node"), enable code splitting with splitting: true, and configure tree shaking.bun test with Jest-compatible API (describe, it, expect), snapshot testing, mocking with mock.module(), and --coverage for code coverage.Bun.file() and Bun.write() over Node.js fs for significantly faster file operations, and use Bun.Glob for pattern matching.Bun.password.hash() and Bun.password.verify() for bcrypt/argon2 instead of npm packages.node with bun in scripts, keep package.json unchanged, and note that most npm packages work without modifications. Use bun:sqlite for embedded databases instead of SQLite npm packages.User request: "Create a REST API using Bun's built-in HTTP server"
Actions:
Bun.serve() and route handlerrequest.json() and return Response objectsBun.password for auth and bun:sqlite for data storageOutput: A fast API server using only Bun built-ins with no external dependencies.
User request: "Switch my Express project from Node.js to Bun"
Actions:
npm install with bun install in CI and local setuppackage.json scripts to use bun run instead of nodedotenv with Bun's built-in .env loadingbun test with same test filesOutput: A Bun-powered project with faster installs, startup, and test execution.
Bun.serve() for new HTTP servers; it is significantly faster than Express on Bun.Bun.file() and Bun.write() over Node.js fs for file operations.bun:sqlite for local data instead of adding SQLite npm packages.Bun.password for auth instead of bcrypt/argon2 npm packages for zero native dependencies.bun.lock (text format) in git for readable diffs.bun test instead of Jest for the same API with dramatically faster execution.Bun.build() with target: "browser".npx skills add TerminalSkills/bun下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer