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.
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.
- bun.com/blog/bun-v1.4: Current stable line and its feature set.
- grigio.org/bun-1-4-the-controversial-ai-driven-rewrite-from-zig-to-rust: Debate over the AI-driven rewrite.
- peers Node.js: Node.js is still the mainstream default in the category.
- dev.to/pickuma/bun-vs-nodejs-in-production-what-actually-changes-in-2026-2o3l: Mixed setups (Bun for tooling, Node in production) are common.
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.
- bun.com/blog/bun-v1.4: The Rust release expanded Node.js compatibility coverage and the integrated toolchain.
- compatlab.me/articles/npm-behavior-study-2026-11: Current targeted testing found behavior gaps that matter for some Node.js dependencies.
- nodejs.org/en/about/previous-releases: Node.js publishes active and maintenance LTS schedules.
- deno.com/blog/cloudflare: Deno's team plans about a year of maintenance from October 2026 before ending its runtime development.
- trigger.dev/blog/firebun: A production deployment demonstrates substantial gains for a specific service.
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.
- infoq.com/news/2026/03/state-of-js-survey-2025: State of JS 2025: about 90% of respondents use Node and 20.8% use Bun.
- github description: Runtime, bundler, test runner and package manager in one tool.
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.
- 2025.stateofjs.com/en-US/other-tools: About 90% of runtime-question respondents reported using Node.js and 21% reported using Bun.
- bun.com/docs/runtime: Supports direct JavaScript and TypeScript execution, scripts, and executable packages.
- bun.com/docs/runtime/nodejs-compat: Documents compatibility across Node.js modules and frameworks.
- vercel.com/docs/functions/runtimes/bun: Vercel offers Bun as a beta runtime with platform-specific limits.
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.
- bun.com/blog/bun-v1.4: Official 1.4 notes: Rust port, new APIs, Node 26.3 compatibility, faster startup.
- ecorpit.com/bun-1-4-rust-rewrite-breaking-changes-production-2026: Lists the 1.4 breaking changes and about 20 issues filed on release day.
- dev.to/alexcloudstar/bun-compatibility-in-2026-what-actually-works-what-does-not-and-when-to-switch-23eb: Independent write-up on what still fails, mainly native addons.
- github.com/oven-sh/bun/issues/40376: On Windows, bun test sometimes hangs or exits 0 with no report in 1.4.
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.
- bun.com/docs/runtime: Documents TypeScript execution, type-checking diagnostics, and runtime flags.
- realjs.com/bun-js-vs-node-vs-deno: November measurements found faster startup and a small HTTP lead over Node.js on one setup.
- github.com/arjaythedev/js-runtimes-benchmark: Another November load test found substantially higher throughput for Bun on its database-backed API.
- compatlab.me/articles/npm-behavior-study-2026-11: Four targeted behavior gaps reproduced on 1.4.4 in a sample chosen for Node-specific APIs.
- bun.com/docs/runtime/nodejs-compat: Lists missing module loader APIs, including `registerHooks`.
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.
- github commitsLastYear / releasesLastYear: 4,719 commits and 18 releases in the last year.
- anthropic.com/news/anthropic-acquires-bun-as-claude-code-reaches-usd1b-milestone?s=33: Anthropic acquired Bun; Bun stays open source under MIT.
- morello.dev/blog/bun-14-rust-rewrite: Rewrite done with 64 Claude agents in about 11 days.
- github openIssues / openPullRequests: 3,611 open issues and 3,469 open pull requests.
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.
- devclass.com/ai-ml/2025/12/03/bun-javascript-runtime-acquired-by-anthropic-tying-its-future-to-ai-coding/1727637: Bun is core infrastructure for Claude Code.
- dev.to/johalputt/why-we-ditched-bun-12-for-nodejs-22-and-cut-production-runtime-errors-by-25-hc9: A team that reverted to Node after production errors.
- dev.to/synsun/bun-vs-nodejs-in-production-what-three-months-of-real-traffic-taught-me-3d96: Independent report from three months of production traffic.
- hackerNews top: Bun 1.4 got 261 points; a critical rewrite thread got 175.
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.
- trigger.dev/blog/firebun: Firsthand production report with measured throughput and a subsequently fixed leak.
- paulmosquera.com/writing/node-is-dead-long-live-bun: Firsthand NestJS rollout reports lower tail latency and a Dynatrace instrumentation gap.
- claude.com/resources/articles/ai-code-migration: Anthropic confirms that the Rust port shipped inside Claude Code.
- vercel.com/docs/functions/runtimes/bun: Vercel provides managed Bun 1.4 patch releases for beta Functions deployments.
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.
- advisories: Two advisories in 24 months, including a high-severity command injection from 2025.
- npm dependencies / license: 0 dependencies, MIT.
- scorecard: No OpenSSF Scorecard available.
- github.com/anthropics/claude-code/issues/90990: Intermittent segfaults on Linux x64 still reported in 1.4.1.
- i-programmer.info/news/98-languages/19132-bun-14-rewritten-in-rust.html: Coverage of the Rust rewrite and its unsafe code.
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.
- npm dependencies, npm license, scorecard: Zero reported regular npm dependencies, MIT license, and no collected Scorecard result.
- github.com/oven-sh/bun/blob/main/LICENSE.md: Confirms MIT licensing for Bun and lists bundled third-party licenses.
- github.com/advisories/GHSA-4j66-8f4r-3pjx: GitHub withdrew the command-injection advisory.
- github.com/advisories/GHSA-v9mx-4pqq-h232: Records the prototype-pollution fix in version 1.1.30.
- bun.com/blog/bun-v1.1.30: Dates the fixed release to September 2024, before the December advisory.
- github.com/oven-sh/bun/security/advisories: Repository disclosures include patched HTTP/3, Brotli, and certificate issues absent from the bundle.
- bun.sh/blog/release-notes/bun-v1.4.5: November security release updated several bundled native libraries.
- github.com/oven-sh/bun/releases: The release bot publishes GitHub binaries with SHA-256 digests.
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.