Bun is an open-source runtime for JavaScript and TypeScript. It was created by Jarred Sumner, first released publicly in 2022, and reached version 1.0 in 2023. In addition to the runtime, it ships a package manager, a bundler, and a test runner in a single executable.
Bun is built on JavaScriptCore, the engine used in Apple's Safari browser, and was originally written in the Zig programming language. It implements much of the Node.js API and works with npm packages, so it is used as a drop-in alternative to Node.js. Anthropic acquired Bun in 2025.