Na_Nov_02

Bun – fast JavaScript runtime and toolkit

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.jsHugely popular cross-platform JavaScript run-time environment
BunFast JavaScript runtime designed as a drop-in replacement for Node.js.
DenoSimple, modern and secure runtime for JavaScript and TypeScript
WasmEdgeHigh-performance, and extensible WebAssembly runtime
workerdJavaScript and WebAssembly server runtime
LLRTDesigned for fast, resource-efficient serverless applications
txiki.jsSmall and powerful JavaScript runtime
JerryScriptJavaScript engine for the Internet of Things
GraalJSECMAScript-compliant JavaScript engine
Window.jsJavaScript runtime for desktop graphics programming
BlueboatMulti-tenant serverless JavaScript runtime
loSuccessor project to Just
StarlingMonkeySpiderMonkey-based JavaScript runtime
JustVery small v8 JavaScript runtime

Read our verdict in the software roundup.


Best Free and Open Source Software 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.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted