ES module autodetection coming to Node

#​508 — October 31, 2023 Read on the Web Node v21.1 (Current) Released with ESM Detection Feature — “The new flag 1–experimental-detect-module can be used to automatically run ES modules when their syntax can be detected. … We hope to make detection enabled by default in a future version.” Michaël Zasso Read more…

Using JavaScript’s built-in objects

JavaScript’s built-in objects include 1Object , 1JSON , 1console , 1String , 1Math , 1Date , and the 1window and 1global objects. These are some of the most important and useful parts of the JavaScript language. Together, they are essential elements of the programming environment in both the browser and server-side platforms Read more…

Taking Node to the JVM

#​507 — October 24, 2023 Read on the Web Javet 3.0: Embed Node and V8 in Java Apps — Lets you spin up V8 interpreters or full Node.js runtimes within JVM-based apps. It’s cross platform, mature, and well maintained with support for Node 20 and V8 11. There’s a helpful Read more…

Node.js 21 brings WebSocket client

Node.js 21, the latest release of the open source cross-platform JavaScript runtime, has arrived, featuring a built-in WebSocket client and support for globs in the platform’s test runner. Announced October 17, Node.js 21 is equipped with an experimental, browser-compatible WebSocket implementation, enabled through the 1–experimental-websocket flag. WebSocket enables two-way communication Read more…

Node.js 21 released

#​506 — October 17, 2023 Read on the Web Node.js 21 Now Available — This news is just breaking, but Node v21 (release notes) replaces Node v20 as the ‘current’ release line (basically, the one that gets all the shiny new features first.) This also means Node v20 will soon Read more…

Testing perfection for Node?

#​505 — October 10, 2023 Read on the Web ✍️ Due to being on the road attending the inaugural AI Engineer Summit, this week’s issue was meant to be shorter than usual.. but I’m not sure it’s actually turned out that way 😅 In any case, we’re back to full Read more…

Latest Node.js boosts stream performance

Node.js v20.8.0 has arrived, offering performance improvements for streams in the popular JavaScript runtime environment. Published as the “current” version of Node.js on September 29 and offering the platform’s latest features, Version 20.8.0 can be downloaded from nodejs.org. Stream performance improvements were made to writeable and readable streams, improving creation Read more…

Polyfills gone rogue

#​503 — September 26, 2023 Read on the Web Speeding up the JavaScript Ecosystem: Polyfills Gone Rogue? — Marvin has been on a mission to speed up popular libraries – first blogging about speeding up the JS ecosystem, one library at a time last year. Earlier this year he tackled Read more…