Node.js 22 has entered the building

April 30, 2024 By Mark Otto 0

Node.js Weekly

Node.js 22.0 (Current) Released — The latest major version of Node is here. Note that it’s a ‘Current’ release for now, so gets all the newest features first, but is due to become Node’s main active LTS release this October. As an even numbered release, Node 22 should be around and maintained for a long time, most likely out to 2027 or so (see image above).

We’ll dig into some of what’s new with Node 22 in just a moment..

So what’s new in Node 22?

JSR is Not ‘Another Package Manager’ — Node, npm and CommonJS brought a packaging standard to JavaScript, and while tools like Yarn or pnpm added their own twists to the process, Ryan says it’s time for a transformation. JSR is not ‘a new npm’ but a reshaping of how packages are distributed, designed for the ESM era.

Ryan Dahl

📄 Web Scraping Like a Pro: Unlocking the Power of Impersonation – As well as some useful technical tips, ethics and responsibilities are also covered. Lev Gelfenbuim

🛠 Code & Tools

⚙️ rcompat – JS interoperability and runtime compatibility layer for servers. Terrablue

⚙️ TsumiLink – A Lava/NodeLink compatible client. Fyphen

⚙️ x-crawl – AI-assisted Web crawler library. CoderHXL