About this project
Bun is a comprehensive toolkit designed as a drop-in replacement for Node.js. Written in Rust and powered by JavaScriptCore, it aims to reduce startup times and memory usage. It provides a unified experience by integrating several essential development tools into one `bun` command.
Key capabilities include:
- **Runtime**: Fast execution of JavaScript and TypeScript (including JSX) out-of-the-box, with support for Web APIs and Node.js compatibility.
- **Package Manager**: A high-performance alternative to npm/yarn for installing and managing dependencies.
- **Bundler**: Built-in bundling capabilities including minification and Hot Module Replacement (HMR).
- **Test Runner**: An integrated testing framework with support for mocks, snapshots, and code coverage.
- **Integrated APIs**: Native support for HTTP servers, WebSockets, SQLite, PostgreSQL, Redis, S3, and file I/O.
Bun supports Linux, macOS, and Windows, and can be installed via shell scripts, npm, Homebrew, or Docker.