Elestia Open Source Ratings
7.8

Bun

A strong pick. 2nd of 9 JavaScript runtimes.

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.

WebsiteGitHubnpm

Scores

Overall7.8

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 7.5, likely 6.5 to 8.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, likely 7.0 to 9.0

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 many8.1

How many developers need a tool for this job?

Claude Opus 5.5: 8.0, likely 7.0 to 9.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, likely 7.0 to 9.3

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 lot7.9

How well does it do the job for those who need it?

Claude Opus 5.5: 7.5, likely 6.5 to 8.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, likely 7.1 to 9.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 time7.8

Will it still be a good choice in two years?

Claude Opus 5.5: 7.5, likely 6.0 to 8.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, likely 6.9 to 9.2

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.

  • github commitsLastYear, releasesLastYear, openIssues, openPullRequests: 4,719 commits and 18 releases, with 3,611 issues and 3,469 pull requests open.
  • bun.com/blog/bun-joins-anthropic: Anthropic retained the full-time team and committed to public development and Node.js compatibility.
  • trigger.dev/blog/firebun: Trigger.dev reports a prompt fix for the HTTP memory leak it encountered.
  • vercel.com/docs/functions/runtimes/bun: Vercel requires an explicit version choice for the breaking 1.4 upgrade.
Used widely7.4

How many use it, and is that growing?

Claude Opus 5.5: 8.0, likely 7.0 to 9.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.

  • npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 24.1M vs 2.2M, a ratio of about 10.8 against a median of 4.1.
  • dependents repos: 21,486 repos, versus 14,271 for the Node package and 7 for Deno.
  • github stars: 96.8k stars.
  • infoq.com/news/2026/03/state-of-js-survey-2025: Bun usage rose from 16.4% to 20.8% in State of JS.

GPT-6.2 Sol: 6.7, likely 5.5 to 8.0

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.

  • npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio, project note: 24.1 million versus 2.23 million npm installs, with many installs through other channels.
  • dependents repos, dependents packages, peers: 21,486 repositories and 108 packages in a partial index that misses many runtime installations.
  • github stars, bluesky posts, peers: About 97,000 stars and 97 Bluesky posts show attention on a similar scale to the main runtime peers.
  • 2025.stateofjs.com/en-US/other-tools: 2,321 respondents selected Bun, versus 10,062 for Node.js and 1,244 for Deno.
  • news.ycombinator.com/item?id=49374797: Users describe running parts of the Bun toolchain while keeping another production runtime.
Vouched for7.8

Who stands behind it being good?

Claude Opus 5.5: 7.5, likely 6.5 to 8.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, likely 6.8 to 9.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.

Safe7.1

How safe is it to depend on?

Claude Opus 5.5: 6.5, likely 5.0 to 7.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, likely 6.3 to 8.7

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

npm downloads, 4 weeks
24M ×11 in a year
GitHub stars
97k
Commits, 12 months
4.7k
npm version
1.4.5 Nov 2026
Versions, 12 months
18
Advisories, 24 months
2 of 2 ever
OpenSSF Scorecard
None
Licence
MIT

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

Read on 21 November 2026 from GitHub (oven-sh/bun), npm (bun), OSV and the OpenSSF Scorecard.

JavaScript runtimes

  1. 9.2Node.js
  2. 7.8Bun
  3. 7.2workerd
  4. 6.7Hermes
  5. 5.7quickjs-emscripten
  6. 5.6Bare
  7. 5.0txiki.js
  8. 3.9Deno
  9. 3.0Edge Runtime
Compare all 9 on six scores