---
title: "Node 22.1, now with even more performance"
publication: "Node Weekly"
issue: 531
published_at: "2024-05-07"
canonical_url: "https://nodeweekly.com/issues/531"
---

Plus Express 5 is almost here, and a comparison of Node version managers. |        

#​531 — May 7, 2024 

[Read on the Web](https://nodeweekly.com/issues/531)  

Together with [![Memetria\](https://res.cloudinary.com/cpress/image/upload/c_fill,g_auto,w_600,h_145/e_make_transparent/co_white,e_outline:7/vvpdctzacmq3xehpvwps.png)](https://dashboard.memetria.com/nodeweekly/)  

![Node.js Weekly](https://res.cloudinary.com/cpress/image/upload/v1653576619/lgfqinzbdqttwmhvljxb.png) 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/esqvwtaurlq4llpaxtbm.jpg)](https://pavel-romanov.com/5-node-version-managers-compared-which-is-right-for-you)  

[Five Node Version Managers Compared](https://pavel-romanov.com/5-node-version-managers-compared-which-is-right-for-you) — 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](https://github.com/nvm-sh/nvm) is perhaps the best known, but maybe N, FNM, Volta, or even [pnpm](https://pnpm.io/) could suit you better? 

Pavel Romanov   

[Node v22.1.0 (Current) Released](https://nodejs.org/en/blog/release/v22.1.0) — Fewer than two weeks on from [Node 22.0](https://nodejs.org/en/blog/release/v22.0.0) comes Node 22.1 with an optional **on-disk code caching feature** that can speed up compilation by leaning on [V8’s caching.](https://v8.dev/blog/code-caching-for-devs) A cool potential performance improvement, but one you’ll want to experiment with to see its effects. [More details here](https://github.com/nodejs/node/pull/52535). 

Michaël Zasso   [![\](https://copm.s3.amazonaws.com/b17c98e2.png)](https://dashboard.memetria.com/nodeweekly/) 

[Memetria: Secure, Scalable Redis Hosting](https://dashboard.memetria.com/nodeweekly/) — High performance Redis hosting with large key tracking, detailed metrics, and a superior uptime record. 

Memetria sponsor   

▶[Exploring What's New in Node 22](https://www.youtube.com/watch?v=eZfLkVDJPTg) — 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   

**IN BRIEF:** 

- The Node core team wants you to [take part in the latest Node.js _Next 10_ survey](https://linuxfoundation.surveymonkey.com/r/nodenext10survey24) 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](https://joshtronic.com/2024/05/05/vps-showdown-april-2024-digitalocean-linode-vultr/) testing out Ubuntu 24.04 LTS in particular.   

[A Last Push Towards Express 5.0](https://github.com/expressjs/discussions/issues/233) — You may recall that several months ago [a plan to reignite development on Express](https://github.com/expressjs/discussions/issues/160) 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](https://www.npmjs.com/package/express/v/5.0.0-beta.3) if you want to play.)_ 

Ulises Gascón et al.   

[Poor Express Authentication Patterns and How to Avoid Them](https://www.lirantal.com/blog/poor-express-authentication-patterns-nodejs) — 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](https://www.hypertest.co) — 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](https://blog.appsignal.com/2024/05/01/when-to-use-bun-instead-of-nodejs.html) Antonello Zanini 

📄 [Autogenerating Podcast Show Notes with yt-dlp, Whisper.cpp, and Node](https://ajcwebdev.com/autogen-shownotes/) Anthony Campolo 

📄 [Using Vite to Rebuild Local Dependencies in an NPM Workspace](https://prosopo.io/articles/using-vite-to-rebuild-local-dependencies-in-an-npm-workspace/) Prosopo 

📄 [How to Monitor Third-Party Resources that Impact UX with Playwright](https://www.checklyhq.com/blog/how-playwright-can-monitor-third-party-resources/) Stefan Judis 

📄 [Should Node.js Be Built with ClangCL Under Windows?](https://lemire.me/blog/2024/05/02/should-node-js-be-built-with-clangcl-under-windows/) – Daniel Lemire    

🛠 Code & Tools 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/v0fyu57yldrb3oq5oxqt.jpg)](https://derbyjs.com/)  

[DerbyJS 4.0: The Mature MVC Web Framework](https://derbyjs.com/) — 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.](https://github.com/derbyjs/derby) 

Nate Smith et al.   

[Pechkin: Asynchronous Node File Upload Handling](https://github.com/rafasofizada/pechkin) — Based around [Busboy](https://www.npmjs.com/package/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](https://blog.sentry.io/your-background-images-might-be-causing-cls/?utm_medium=paid-community&utm_source=nodeweekly&utm_campaign=fy25q2-jtbd-cls&utm_content=newsletter-jtbd-cls-learnmore). 

--- 

🗣️"Compared to our previous experiences in the security/auth space, [Userfront is an order of magnitude simpler to use](https://userfront.com/?&utm_source=nodeweekly-com&utm_medium=newsletter_classified_listing&utm_campaign=magnitude&utm_content=transformational)."     

[node-mlx: Machine Learning Framework for Node.js](https://github.com/frost-beta/node-mlx) — Based upon Apple’s [MLX framework](https://github.com/ml-explore/mlx) 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](https://github.com/frost-beta/llama3.js) provides a demo of what node-mlx can do. 

zcbenz / Apple   

[node-screenshots: Native Node Screenshot Library](https://github.com/nashaofu/node-screenshots) — Boasts support for Node 16, 18, and 20 across Windows, macOS and Linux on multiple architectures. 

nashaofu   

- [node-oracledb 6.5](https://medium.com/@sharad-chandran/node-oracledb-6-5-now-supports-the-new-vector-search-capabilities-of-oracle-database-23ai-2a504d2fb279) – Oracle's own official Node.js database driver, now with support for Oracle's latest vector search functionality.
- [pure-http 4.0](https://github.com/htdangkhoa/pure-http) – Minimal web framework for Node.js with no dependencies.
- 🐱 [cat-names 4.0](https://github.com/sindresorhus/cat-names) – Generate cat names. Because.. why not?
- [js-bson 6.7](https://github.com/mongodb/js-bson/releases/tag/v6.7.0) – MongoDB BSON parser for Node and browsers.
- [AdonisJS 6.9](https://adonisjs.com/) – TypeScript-first backend web framework.
- [electron-serve 2.0](https://github.com/sindresorhus/electron-serve) – Static file serving for Electron apps.
- [electron-timber 1.0](https://github.com/sindresorhus/electron-timber) – Pretty logger for Electron apps.
- [Mikro ORM 6.2.5](https://github.com/mikro-orm/mikro-orm) – TypeScript ORM for Node.js.
- [Bree 9.2.3](https://github.com/breejs/bree) – Powerful job scheduler.    

**Got a link for us?** Reply and tell us. We can't include everything but we'll look at anything you send. _Thanks!_ 

--- 

**Sponsorship:** Email `[kristina@cooperpress.com](mailto:kristina@cooperpress.com)` for details. 

--- 

Published by Cooper Press Ltd.
Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom 

[Cancel your subscription](https://nodeweekly.com/leave/*|UID|*) or [change your address](https://nodeweekly.com/edit_subscription/*|UID|*).
