Bun is an all-in-one JavaScript runtime — runtime, package manager, bundler, and test runner, 3x faster than Node.js.
What You Get for Free
- 3x faster runtime — JavaScriptCore (Safari's engine) vs V8
- Bun install — npm-compatible, 25x faster installs
- Bun test — Jest-compatible test runner, built-in
- Bun build — esbuild-speed bundler, built-in
- Node.js compatible — drop-in replacement for most Node apps
- TypeScript native — run .ts files directly, no compilation
-
SQLite built-in —
bun:sqlitemodule, zero install -
Hot reload —
bun --hotfor development - Macros — compile-time code execution
Quick Start
curl -fsSL https://bun.sh/install | bash
# Run TypeScript directly
bun run server.ts
# Install packages (25x faster than npm)
bun install
# Run tests
bun test
# Bundle
bun build ./src/index.ts --outdir ./dist
Why Developers Switch from Node.js
Node.js is 15 years old and needs separate tools for everything:
- All-in-one — no more npm + tsc + jest + webpack
- 3x faster — HTTP server benchmarks: 3x requests/second
- TypeScript native — no tsconfig, no ts-node, just works
- SQLite built-in — no npm install sqlite3, native module
A Node.js API handled 50K requests/second. Same code on Bun: 150K requests/second. Package installs went from 45 seconds to 2 seconds.
Need Custom Data Solutions?
I build production-grade scrapers and data pipelines for startups, agencies, and research teams.
Browse 88+ ready-made scrapers on Apify → — Reddit, HN, LinkedIn, Google, Amazon, and more.
Custom project? Email me: spinov001@gmail.com — fast turnaround, fair pricing.
Top comments (0)