# Bun: 7.8 out of 10

A strong pick. 2nd of 9 in [JavaScript runtimes](https://elestia.ai/opensource/runtimes/index.md).

Bun is a fast all-in-one JavaScript and TypeScript runtime with a built-in bundler, test runner and package manager. Anthropic owns and funds it, and its use is growing. It is a strong pick for new projects that want speed and less tooling, but the August 2026 Rust rewrite (1.4) brought breaking changes and new crash reports, and Node.js is still the safer default for production servers that depend heavily on native addons.

**Best for:** Teams starting new TypeScript services, scripts or CLIs who want one fast tool that runs, tests, bundles and installs packages.

## Scores

- **Overall: 7.8** (likely 6.8 to 8.8)
  - Claude Opus 5.5 (7.5): Bun is the strongest alternative to Node.js. It has funded, very active development and fast-growing use, and it is the best pick for teams that want one fast all-in-one tool. The 1.4 rewrite added risk: breaking changes, new crashes and code that was not fully reviewed. Node.js stays the safer default for conservative production servers. The range is wide because the next few 1.4.x releases will show whether the port has settled down.
  - GPT-6.2 Sol (8.1): Bun is a strong choice for new TypeScript services and command-line tools where startup time and an integrated toolchain matter. Node.js remains the general-purpose default because it offers broader package compatibility and a published long-term support schedule. Bun has the stronger two-year outlook of the two alternatives now that Deno's team has announced an end to its runtime development. Bun's remaining compatibility gaps and the short track record of the Rust release line keep the range wide.
- **Needed by many: 8.1** (likely 7.0 to 9.2)
  - Claude Opus 5.5 (8.0): Almost every JS/TS developer needs a server-side runtime, and Bun also covers package installs, tests and bundling. Many teams use only part of it, such as bun install or bun test. That widens its reach beyond the people who run Bun in production. Frontend-only teams that stay on Node-based tooling need it less.
  - GPT-6.2 Sol (8.2): Running JavaScript and TypeScript outside the browser is common across backends, command-line tools, and build scripts. Bun serves those uses across frameworks and operating systems, with a particular appeal to teams that want an integrated toolchain. Compatibility gaps and hosting requirements limit how many projects can use it as their runtime.
- **Helps a lot: 7.9** (likely 6.8 to 8.9)
  - Claude Opus 5.5 (7.5): Bun has the broadest built-in toolset of any runtime. It runs TypeScript natively, its install and startup are fast, and 1.4 added more built-in APIs. Node.js compatibility is high but not complete: native addons, some frameworks and APM tooling still fail in places. The 1.4 Rust port brought release-day regressions and crash reports. That keeps the score below Node.js for correctness in production.
  - GPT-6.2 Sol (8.2): Bun 1.4.5 combines direct TypeScript execution, optional type checking, and clearly documented runtime APIs. Independent tests on 1.4.4 found fast startup, while HTTP throughput gains varied by workload. A targeted study passed 15 of 19 package behavior checks on Bun and all 19 on Node.js, and Bun still documents missing loader hooks. Evidence on how reliably coding agents use Bun-specific APIs is limited.
- **Holds up over time: 7.8** (likely 6.5 to 8.9)
  - Claude Opus 5.5 (7.5): Bun is very active, with 4,719 commits and 18 releases in the past year. Since December 2025 Anthropic funds the team, and Anthropic runs Claude Code on Bun. Two things widen the range downward. First, the Rust rewrite was done mostly by AI agents, and no human reviewed the full diff. Second, the backlogs of open issues and pull requests are large. Breaking changes in a minor release (1.4) also cost upgrade trust.
  - GPT-6.2 Sol (8.1): Anthropic funds the Bun team and relies on the runtime for Claude Code. The repository recorded about 4,700 commits and 18 releases in a year, and Trigger.dev reported that Bun shipped a fix shortly after it disclosed a memory leak. The large issue and pull request queues, single-company ownership, and breaking changes in the recent Rust port leave uncertainty about future upgrades and support.
- **Used widely: 7.4** (likely 6.3 to 8.5)
  - Claude Opus 5.5 (8.0): npm downloads grew about 10.8x year over year, well above the 4.1 median, and most installs do not even go through npm. Its 21,486 dependent repos are the most of any peer in the bundle. State of JS shows Bun used by about a fifth of respondents and rising. Node.js still dwarfs it in absolute use.
  - GPT-6.2 Sol (6.7): Bun's four-week npm downloads grew 10.8-fold year over year, ahead of the catalog median of 4.1-fold. The 21,486 indexed dependent repositories and State of JavaScript responses point to substantial adoption, with Bun ahead of Deno and well behind Node.js in the survey. Installs outside npm and use of Bun solely for builds, tests, or package management make the number of projects that run on Bun hard to pin down.
- **Vouched for: 7.8** (likely 6.7 to 8.8)
  - Claude Opus 5.5 (7.5): Anthropic ships Bun inside Claude Code to a very large user base, and Vercel and other hosts support it. Survey usage is growing, and many independent write-ups cover production use. Those reports are mixed: some teams moved back to Node, and many keep Bun only for installs and tests.
  - GPT-6.2 Sol (8.0): Trigger.dev runs Bun in its production connection broker and reported fivefold throughput after the migration. A separate NestJS migration reported lower CPU use and tail latency alongside a monitoring integration gap. Claude Code ships Bun, and Vercel offers it in beta. The production reports cover specific workloads, and Vercel's beta status leaves broader production support less certain.
- **Safe: 7.1** (likely 5.7 to 8.1)
  - Claude Opus 5.5 (6.5): The npm package has no dependencies and an MIT licence, and its two advisories (one high, one moderate) were fixed. There is no OpenSSF Scorecard. The GitHub repository shows no licence field even though npm says MIT. The new Rust codebase has about 13,000 unsafe blocks and was not fully reviewed by humans, and memory-safety crashes are still reported in 1.4.x.
  - GPT-6.2 Sol (7.6): Bun is MIT-licensed, and the npm package lists zero regular dependencies, though the runtime bundles native networking and database libraries. GitHub withdrew the command-injection advisory, and Bun had already patched the older prototype-pollution issue before GitHub published it. Fixes for more recent HTTP/3 and compression issues were available by disclosure. GitHub publishes binary checksums, while Scorecard coverage and the number of people with publishing access remain unclear.

## Good

- Runs TypeScript directly and replaces npm, a bundler and a test runner with a single binary.
- Starts fast and installs packages very fast, and 1.4 cut startup time and HTTP server memory further.
- Anthropic pays a full-time team, and a release ships about every three weeks.
- It passes a large share of the Node.js test suite, so most npm packages work unchanged.

## Bad

- The 1.4 Rust port was largely written by AI agents, and segfaults and panics were still reported in 1.4.x.
- Version 1.4 changed .env loading, YAML and TOML parsing, and the native addon ABI, which can break upgrades silently.
- Native addons, APM agents and some framework setups such as Next.js in production still work less reliably than on Node.js.
- More than 3,600 open issues and 3,400 open pull requests make it hard for bug reports to get attention.

## The numbers

- Downloads, 4 weeks: 24M
- In a year: ×11
- GitHub stars: 97k
- Commits, 12 months: 4.7k
- Last npm release: Nov 2026
- Advisories, 24 months: 2
- Licence: MIT
- GitHub: https://github.com/oven-sh/bun
- npm: https://www.npmjs.com/package/bun

Most people install Bun without npm, so the downloads count too few.

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
