Bun (software)
Bun is a JavaScript runtime, package manager and test runner designed as a drop-in replacement for Node.js. Bun uses Safari's JavaScriptCore as its JavaScript engine , unlike Node.js and Deno, which run on the V8 engine used by the Chromium project. It is currently owned by Anthropic PBC, having formerly been its own company, Oven.
Overview
Bun supports bundling, minifying, server-side rendering. Bundling refers to the process of combining multiple files and assets like JavaScript, CSS, and HTML files into a smaller number of files, to reduce the number of server requests and enhance performance. Minifying is a technique of compressing files by removing unnecessary characters without affecting their functionality, further optimizing website load times. Bun provides an API to decide whether to preserve some readability by e.g. keeping whitespace.The runtime supports foreign function interface, SQLite3, TLS 1.3, and DNS resolution. It also comes bundled in with common tools like file editing, HTTP servers, WebSocket, and hashing.
History
The first stable release of Bun, 1.0, was released on September 8, 2023.Bun 1.1 added support for Windows 10 and Windows 11. It also introduced a cross-platform Bun Shell for running some Bash commands without extra dependencies.
With version 1.3, Bun added hot module replacement to its local development server, which updates pages as code changes automatically.
On December 2, 2025, Bun announced that the project has been acquired by Anthropic. This acquisition allows the company to use Bun to support Claude Code and the Claude Agent SDK.