Develop, test, run, and bundle JavaScript & TypeScript projects — all with Bun. A runtime, package manager, bundler and test runner in a single tool.
Fast, native implementations of the things you build with every day.
Bun implements a set of native APIs for HTTP servers, file I/O, hashing, and SQLite — all written in native code and exposed on the global Bun object. They're drop-in replacements that run 3–5× faster than their Node.js counterparts.
Bun replaces node, npm, pnpm, yarn, jest, webpack, esbuild and dotenv. Less to install, less to configure, dramatically faster — and fully compatible with the ecosystem you already use.
A JavaScriptCore-powered runtime with first-class TypeScript, JSX and ESM. Starts in milliseconds, no transpile step.
$ bun run index.tsAn npm-compatible installer that's up to 25× faster than npm. Global cache, lockfile, workspaces — all built in.
$ bun installBundle for the browser, Node, or Bun with a single command. Tree-shaking, code-splitting, and a plugin API on board.
$ bun build ./app.tsA Jest-compatible test runner built into the binary. Snapshots, mocks, and DOM testing — running at native speed.
$ bun testImplements Node.js APIs and globals — fs, path, http, Buffer — so your existing code just runs.
Native SQLite, Postgres, Redis and S3 clients ship with the runtime. No drivers, no dependencies — just import and go.
$ import { sql } from "bun"Bun installs dependencies up to 25× faster than npm by using a global module cache and the fastest possible syscalls on each OS. Same lockfile semantics, none of the waiting.
"We moved our entire CI to Bun and watched test suites go from 4 minutes to 38 seconds. It felt illegal."
Hot pink #ff73a8 is the single chromatic accent — CTAs, active sidebar pills, links, focus rings. The cream #fbf0df is Bun's heritage canvas, kept for the hero. Hairlines are a warm pink-grey, never neutral.
Brand & accent
Surface
Text
Inter for UI and prose, Inter Display weight 800 for headlines with tight negative tracking, JetBrains Mono for every command and code surface. Documentation prose runs a relaxed 1.7 line-height.
Pills for buttons, nav stars and sidebar items — the soft, friendly Bun silhouette. Cards and ghost commands sit at 12–16px. Code chips at 6px.
Pink-fill pill primaries, warm-hairline secondaries, pink active-pill sidebar items, mono command chips, and the dark code block with a pink dot. Focus states ring in Bun pink.