Bun is an all-in-one toolkit for JavaScript and TypeScript applications, created by Jarred Sumner. It ships as a single executable: a runtime (drop-in Node.js replacement built on JavaScriptCore), a package manager (much faster than npm/yarn/pnpm), a bundler, a test runner, and a script runner.
Bun is written in Zig and targets dramatic speed improvements across the entire JavaScript workflow โ installs, server starts, HTTP throughput, and SQLite queries.
All-in-one JavaScript runtime and toolkit. Drop-in Node.js replacement, several times faster.
โจ Features
Uses Safari's engine โ faster startup than V8, lower memory footprint.
Zig-implemented bundler. esbuild-class speed with Webpack-class features.
Jest-compatible API. Snapshot testing, watch mode, native TypeScript, native JSX.
bun install resolves and downloads packages many times faster than npm/yarn/pnpm.
bun:sqlite โ fastest SQLite client in the JS ecosystem. Synchronous, prepared statements.