Bun
An incredibly fast, all-in-one JavaScript runtime and toolkit designed as a drop-in replacement for Node.js, featuring built-in bundling and testing tools.
What it is
Bun is a modern runtime built from scratch in Zig and powered by Apple's JavaScriptCore engine. It natively supports TypeScript and JSX without configuration, and executes code significantly faster than Node.js. It replaces multiple distinct tools by acting as a runtime, package manager, bundler, and test runner simultaneously.
When you would use it
You use Bun when you want a significantly faster, all-in-one alternative to the traditional Node.js ecosystem, reducing the number of configuration files and dependencies required.
Common operations
- Installing npm packages drastically faster than the standard npm install.
- Running TypeScript backend scripts natively without a compilation step.
Related terms
Where this is taught
No learning path uses this term yet. Browse the Learning Atlas for guided sequences through related ideas.