Move over, Node.js and Deno. A potential competitor is emerging in the JavaScript/TypeScript runtime space, called Bun.
Now in a beta stage of development, Bun is billed as a modern JavaScript runtime akin to Deno or Node, built to start fast, offer new levels of performance, and be a complete tool, equipped with a bundler, transpiler, and package manager. Bun also features an NPM client that implements the Node module resolution algorithm.
Bun has ambitions. The goal of the project is to “run most of the world’s JavaScript outside of browsers,” providing performance and complexity enhancements to future infrastructure. Developer productivity and simpler tools also are goals. The project claims to support 90% of Node-API functions. Built-in web APIs include
1 | fetch |
,
1 | WebSocket |
, and
1 | ReadableStream |
.
0 Comments