Javascript Node

Node 22.1, now with even more performance3 min read

#​531 — May 7, 2024

Read on the Web

Five Node Version Managers Compared — In an ideal world, the latest version of Node would slot well into every project, but in reality we often need to switch versions, and a variety of tools are available to make it simple. NVM is perhaps the best known, but maybe N, FNM, Volta, or even pnpm could suit you better?

Pavel Romanov

Node v22.1.0 (Current) Released — Fewer than two weeks on from Node 22.0 comes Node 22.1 with an optional on-disk code caching feature that can speed up compilation by leaning on V8’s caching. A cool potential performance improvement, but one you’ll want to experiment with to see its effects. More details here.

Michaël Zasso

Memetria: Secure, Scalable Redis Hosting — High performance Redis hosting with large key tracking, detailed metrics, and a superior uptime record.

Memetria sponsor

▶  Exploring What’s New in Node 22 — With Matteo Collina of the Node TSC, no less! It’s a movie-length effort, but he walks through everything significant about Node 22 (and 22.1) including improvements introduced by V8, the –run feature, the new compile cache in 22.1, and performance improvements across the board.

Matteo Collina


The Node core team wants you to take part in the latest Node.js Next 10 survey to help them make decisions about where to take Node next.

Josh Sherman is back with the latest round of his DigitalOcean vs. Linode vs. Vultr VPS showdowns testing out Ubuntu 24.04 LTS in particular.

A Last Push Towards Express 5.0 — You may recall that several months ago a plan to reignite development on Express was formed, and it’s already bearing fruit with a final version of Express 5.0 due to land soon. (You can already install 5.0.0-beta.3 if you want to play.)

Ulises Gascón et al.

Poor Express Authentication Patterns and How to Avoid Them — Node security guru Liran has been bothered by a lot of poor authentication patterns doing the rounds in various tutorials and lays out some things to consider if you’re ‘rolling your own.’

Liran Tal

Integration Testing Made Easy for Developers — Node devs, test code with dependencies like databases, APIs & queues, never miss integration failures. >90% coverage.

HyperTest sponsor

📄 When to Use Bun Instead of Node.js Antonello Zanini

📄 Autogenerating Podcast Show Notes with yt-dlp, Whisper.cpp, and Node Anthony Campolo

📄 Using Vite to Rebuild Local Dependencies in an NPM Workspace Prosopo

📄 How to Monitor Third-Party Resources that Impact UX with Playwright Stefan Judis

📄 Should Node.js Be Built with ClangCL Under Windows? – Daniel Lemire

🛠 Code & Tools

DerbyJS 4.0: The Mature MVC Web Framework — It’s never been the most popular of the frameworks, but Derby has lived through most of Node’s history and remains a viable option for building realtime, collaborative apps in particular. GitHub repo.

Nate Smith et al.

Pechkin: Asynchronous Node File Upload Handling — Based around Busboy and retaining access to its lower level functions, Pechkin boasts flexibility, strong error handling, and the use of full async/await/iterator syntax when processing files.

Rafael Sofi-zada

📰 Classifieds

Background images causing CLS? Learn from Salma Alam-Naylor on how to avoid unexpected cumulative layout shift with tried and tested solutions.

🗣️”Compared to our previous experiences in the security/auth space, Userfront is an order of magnitude simpler to use.”

node-mlx: Machine Learning Framework for Node.js — Based upon Apple’s MLX framework targeting Apple’s own silicon, node-mlx brings its power into the Node world (it’ll run on CPU instead on x86-64 platforms). llama3.js provides a demo of what node-mlx can do.

zcbenz / Apple

node-screenshots: Native Node Screenshot Library — Boasts support for Node 16, 18, and 20 across Windows, macOS and Linux on multiple architectures.


node-oracledb 6.5 – Oracle’s own official Node.js database driver, now with support for Oracle’s latest vector search functionality.

pure-http 4.0 – Minimal web framework for Node.js with no dependencies.

🐱 cat-names 4.0 – Generate cat names. Because.. why not?

js-bson 6.7 – MongoDB BSON parser for Node and browsers.

AdonisJS 6.9 – TypeScript-first backend web framework.

electron-serve 2.0 – Static file serving for Electron apps.

electron-timber 1.0 – Pretty logger for Electron apps.

Mikro ORM 6.2.5 – TypeScript ORM for Node.js.

Bree 9.2.3 – Powerful job scheduler.

Pin It on Pinterest