Bun is an integrated JavaScript and TypeScript development toolkit built around the JavaScriptCore engine. It is designed as an alternative to Node.js, with compatibility for existing Node.js applications and npm packages. Its native implementations of common runtime operations aim to reduce application startup times and improve performance without requiring developers to change their existing code.
Rather than requiring separate utilities for running scripts, managing dependencies, bundling applications and executing tests, Bun provides these capabilities through a unified command-line interface. It also includes APIs for developing network services, interacting with databases and manipulating binary data.
This is free and open source software.
Key Features
- Execute JavaScript, TypeScript, JSX and TSX files directly.
- Compatibility with Node.js APIs and npm packages.
- Integrated package manager with dependency caching, workspaces, dependency overrides and security auditing.
- Bundler with code splitting, tree shaking, minification, source maps and plugin support.
- Compile applications into standalone executables.
- Jest-compatible test runner with assertions, mocking, snapshots and code coverage.
- Integrated code formatting, linting and TypeScript type checking.
- Automatic reloading and hot module replacement during development.
- HTTP server with routing, TLS and WebSocket support.
- TCP and UDP networking and DNS resolution.
- Native SQLite, PostgreSQL, MySQL, Redis and S3 APIs.
- Web-standard APIs including Fetch, Streams, Request, Response and FormData.
- Cross-platform shell supporting pipelines, redirection, globbing and JavaScript interoperability.
- Worker threads and subprocess management.
- Foreign function interface for calling native libraries.
- Utilities for hashing, compression, archive manipulation and binary data processing.
- Cross-platform support – runs on Linux, macOS, and Windows.
Website: github.com/oven-sh/bun
Support:
Developer: Bun Team
License: MIT License
Bun is written in Zig and C++. Learn Zig with our recommended free tutorials. Learn C++ with our recommended free books and free tutorials.
Related Software
| JavaScript Runtime Environments | |
|---|---|
| Node.js | Hugely popular cross-platform JavaScript run-time environment |
| Bun | Fast JavaScript runtime designed as a drop-in replacement for Node.js. |
| Deno | Simple, modern and secure runtime for JavaScript and TypeScript |
| WasmEdge | High-performance, and extensible WebAssembly runtime |
| workerd | JavaScript and WebAssembly server runtime |
| LLRT | Designed for fast, resource-efficient serverless applications |
| txiki.js | Small and powerful JavaScript runtime |
| JerryScript | JavaScript engine for the Internet of Things |
| GraalJS | ECMAScript-compliant JavaScript engine |
| Window.js | JavaScript runtime for desktop graphics programming |
| Blueboat | Multi-tenant serverless JavaScript runtime |
| lo | Successor project to Just |
| StarlingMonkey | SpiderMonkey-based JavaScript runtime |
| Just | Very small v8 JavaScript runtime |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.