Bun is designed as a faster, leaner, more modern replacement for Node.js. Design goals. Bun is designed from the ground-up with the today's JavaScript ecosystem in mind. Speed. Bun processes start 4x faster than Node.js currently (try it yourself!) TypeScript & JSX support.
In our benchmarks (which is derived from esbuild's three.js benchmark), Bun is 1.75x faster than esbuild, 150x faster than Parcel 2, 180x times faster than Rollup + Terser, and 220x times faster than Webpack. Developer experience. Looking at the APIs of existing bundlers, we saw a lot of room for improvement. No one likes wrestling with bundler configurations. Bun's bundler API is designed to ...