Open Source
Bun
A fast all-in-one JavaScript runtime
Runtime, package manager, test runner and bundler in a single binary for JavaScript and TypeScript.
Mission brief

Bun is a fast JavaScript runtime and toolkit that combines four tools designed together: a runtime, package manager, test runner, and bundler. All components work as a single binary that can be adopted individually or together.
The runtime replaces Node.js and runs JavaScript and TypeScript on JavaScriptCore with Node.js API compatibility. The package manager is npm-compatible and significantly faster than npm, yarn, and pnpm. The test runner is Jest-compatible with support for expect(), mocks, snapshots, DOM testing, and coverage. The bundler handles TypeScript, JSX, CSS and HTML for browsers and servers with a dev server featuring HMR and single-file executable compilation.
Bun includes built-in APIs for HTTP servers, WebSockets, PostgreSQL queries, Redis, S3, shell commands, password hashing with argon2 and bcrypt, and FFI support. It achieves high performance while using less memory than Node.js and Deno across various workloads.
Payload
- JavaScript and TypeScript runtime on JavaScriptCore
- Fast npm-compatible package manager
- Jest-compatible test runner
- Built-in bundler for TypeScript, JSX, CSS and HTML
- HTTP server with routing and WebSocket support
- PostgreSQL and Redis clients built-in
- S3-compatible object storage client
- Shell scripting with Bun.$
- Password hashing with argon2 and bcrypt
- Single-file executable compilation
Pricing
Pricing model: Free
Compare and explore
See the alternatives to Bun, Bun vs Astro, Novu vs Bun, Trigger.dev vs Bun, Windmill vs Bun, Bun vs HeroUI, Bun vs Activepieces, more in Open Source.
Questions from the ground
What is Bun?
Bun is a fast all-in-one JavaScript runtime and toolkit that includes a runtime, package manager, test runner, and bundler in a single binary. It runs JavaScript and TypeScript on JavaScriptCore with Node.js API compatibility, enabling existing Node.js projects to work with minimal changes.
How fast is Bun's package manager?
Bun's package manager is npm-compatible and up to 30 times faster than npm, yarn, and pnpm. It achieves the fastest install times across various scenarios including first install, warm cache, CI environments, and no-op reinstalls.
What built-in APIs does Bun include?
Bun includes built-in APIs for HTTP server creation with routing, WebSocket support with pub/sub, PostgreSQL client via Bun.sql, Redis client, S3 storage client, shell scripting with Bun.$, password hashing with argon2 and bcrypt, and testing utilities. These eliminate the need to install and maintain separate packages for common server needs.
Can I use Bun with my existing Node.js project?
Yes. Bun is designed to work with existing Node.js projects. You can use bun install or bun test in existing Node.js projects without requiring a full runtime switch, and your frameworks and Node.js APIs work as-is.
What frameworks does Bun support?
Bun runs Next.js, Remix, Nuxt, Astro, SvelteKit, Hono, Elysia and other frameworks. Since Bun provides Node.js compatibility, your framework already works without requiring changes.
Leave a review for Bun
No reviews logged for Bun yet. Send the first one up. Free to review. Reviews can never be bought.
Bun has a free listing. The owner can unlock the full profile with a paid launch for $5:
- Founder story (locked)
- Milestones (locked)
- Demo video (locked)
- Dofollow website link: not on this free listing (its website link is nofollow)