Install any skill in seconds. Free to start, no credit card required.
Get Started Free →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.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -32% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -29% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -9% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -34% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -29% | 0% |
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".Other measured skills in the registry, with their headline benchmark lift.