Bun 1.1 JavaScript toolkit backs Windows 10
Briefly

Bun 1.1 JavaScript toolkit backs Windows 10
"Intended as a drop-in replacement for Node.js, Bun now supports node:http2 client APIs for making outgoing HTTP2 requests. However, work is ongoing for the HTTP2 server. Developers now can send IPC messages between Bun and Node using the ipc option. Bun's developers have also implemented a content-addressable cache for files larger than 50KB, which avoids the performance overhead of transpiling the same files repeatedly. Command-line tools such as tsc run as much as twice as fast in Bun 1.1."
"Additionally, WebSocket is stable in Bun 1.1, and passes the Autobahn conformance test suite. The Websocket client is more reliable for production use. Bun now also supports the user-timings APIs, including APIs such performance.mark() and performance.measure(). This is useful for measuring application performance. Bun also now supports module mocking, with the ability to mock ESM and CommonJS modules. The l.1 version adds built-in support for the SQLite C-language engine that implements a SQL database engine. A SQLite database can be imported using the import syntax."
Bun 1.1 introduces native support for Windows 10 and higher, enabling the runtime, test runner, package handler, and bundler to operate on Windows. Node.js compatibility improves with support for node:http2 client APIs and IPC messaging between Bun and Node via the ipc option, while HTTP2 server support remains in progress. A content-addressable cache for files larger than 50KB reduces redundant transpilation, and command-line tools like tsc run up to twice as fast. Bun adds a cross-platform shell, a Semver API for parsing and sorting versions, stable WebSocket support (Autobahn-conformant), user-timing APIs, module mocking for ESM/CommonJS, and built-in SQLite support. Installation details are available on the project website.
Read at InfoWorld
Unable to calculate read time
[
|
]