The goal of Bun is to run most of the world's JavaScript outside of browsers, bringing performance and complexity enhancements to your future infrastructure, as well as developer productivity through better, simpler tooling. Bun natively implements hundreds of Node.js and Web APIs, including ~90% of Node-API functions (native modules), fs, path, Buffer and more.
Use it to run your current JavaScript & TypeScript apps or scripts - on your local computer, server or on the edge.
Bun is a complete toolkit for building JavaScript apps, including a bundler, transpiler, and package manager.īun is designed as a drop-in replacement for Node.js. Bun extends JavaScriptCore, the performance-minded JS engine built for Safari. This is more important than ever as edge computing environments make cold start times more important than ever. Bun is a new JavaScript runtime built from scratch to serve the modern JavaScript ecosystem, with three major design goals: