Home/Backend Frameworks/Bun
Backend Frameworks
bun

Bun

TypeScriptOpen SourceRuntimeAll-in-one

Fast all-in-one JavaScript runtime — includes a bundler, test runner, and package manager, with native TypeScript support and Node.js compatibility.

License

MIT

Language

TypeScript

86
Trust
Strong

Why Bun?

You want the fastest JavaScript runtime with native TS support

Replacing Node.js + npm + Jest with a single tool

Performance-sensitive server-side scripts or APIs

Signal Breakdown

What drives the Trust Score

Downloads / mo
2M+
Commits (90d)
400 commits
GitHub stars
76k ★
Stack Overflow
2k q's
Community
High
Weighted Trust Score86 / 100

Download Trend

Last 12 months

Tradeoffs & Caveats

Know before you commit

Production apps needing guaranteed Node.js ecosystem compatibility — some edge cases still exist

Serverless functions where cold start size matters more than raw speed

Pricing

Free tier & paid plans

Free tier

Open source, free to use

Paid

Free & open-source

Alternative Tools

Other options worth considering

deno-deploy
Deno Deploy60Fair

Serverless edge runtime for TypeScript/JavaScript using Deno. Deploy TypeScript directly — no build step, no node_modules, just import from URLs. Runs in 35+ regions globally.

hono
Hono84Strong

Ultra-fast, lightweight web framework for the edge — runs on Cloudflare Workers, Deno, Bun, and Node.js with a familiar Express-like API.

Often Used Together

Complementary tools that pair well with Bun

hono

Hono

Backend Frameworks

84Strong
View
elysiajs

ElysiaJS

Backend Frameworks

74Good
View
typescript

TypeScript

Dev Toolchain

95Excellent
View

Learning Resources

Docs, videos, tutorials, and courses

Get Started

Repository and installation options

View on GitHub

github.com/oven-sh/bun

curlcurl -fsSL https://bun.sh/install | bash

Quick Start

Copy and adapt to get going fast

# Install Bun
curl -fsSL https://bun.sh/install | bash

# Create a server
bun init
# server.ts
Bun.serve({
  port: 3000,
  fetch(req) { return new Response('Hello Bun!'); },
});
bun run server.ts

Community Notes

Real experiences from developers who've used this tool