Description
Bun is a fast all-in-one JavaScript and TypeScript runtime and toolkit. It runs as a single binary that includes an npm-compatible package manager, a test runner, a bundler, a type checker and a formatter, so you can install dependencies, run code and build a project with one tool. The site shows examples of installing a Next.js app, serving Express over HTTPS, querying Postgres and running a WebSocket chat server. Bun also includes built-in APIs for HTTP and WebSockets, data, files and processes. Install scripts are provided for macOS and Linux, and a PowerShell command for Windows. You can use bun install or bun test inside an existing Node.js project, or run the whole project on Bun. The project is open source, and its source code and benchmarks are on GitHub. Bun is aimed at JavaScript and TypeScript developers who want faster installs, tests and builds.…
Highlights
- Runtime, package manager, test runner and bundler in one binary
- npm-compatible package manager
- Built-in formatter and type checker
- HTTP, WebSocket, data and file APIs built in
- Install on macOS, Linux and Windows
Ratings & Reviews
No ratings yet
Be the first to rate Bun.sh.
People also visit
Deno Deploy
One simple platform for anything that runs with JavaScript or Typescript
Bun.sh FAQ
What is Bun?
A fast JavaScript and TypeScript runtime and toolkit that includes a package manager, test runner, bundler and formatter in one binary.
Is it free?
Yes. Bun is open source, and its source code and benchmarks are on GitHub.
Can I use it with an existing Node.js project?
Yes. The site says you can use bun install or bun test in an existing Node.js project.
How do I install it?
Run the install script on macOS and Linux, or the PowerShell command on Windows, as shown on the install page.
What are the best Bun.sh alternatives?
Popular alternatives to Bun.sh include esbuild, Ant and Deno Deploy. See all Bun.sh alternatives





