talira

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

open sourceMITself-hostablefree

Bun is an all-in-one JavaScript and TypeScript toolkit shipped as a single executable: a Node.js-compatible runtime powered by JavaScriptCore, plus a test runner, script runner, bundler and Node-compatible package manager. Its README says the runtime is now written in Rust. Bun joined Anthropic in December 2025 and stays MIT-licensed.

Ways to install

Problems it solves

  • npm install takes forever in CI
  • running TypeScript needs ts-node, a build step and a lot of config
  • my test suite in Jest is slow to start
  • one tool instead of node, npm, jest, a bundler and ts-node
  • node startup time makes my CLI feel sluggish
  • bundle a TypeScript app without configuring webpack
  • install packages much faster than npm or yarn
  • run package.json scripts faster

Features

  • Node.js-compatible runtime
  • built-in TypeScript/JSX
  • package manager
  • test runner
  • bundler
  • bunx

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what Bun does.

  1. Deno Modern runtime for JavaScript and TypeScript, fully Node-compatible
  2. pnpm Fast, disk space efficient package manager
  3. Node.js Run JavaScript Everywhere
  4. Yarn Safe, stable, reproducible projects
  5. npm The package manager for JavaScript
  6. ent An entity framework for Go

Compare Bun with the top 3