#​599 — November 4, 2025

Read on the Web

Together with  Frontend Masters logo
Node.js Weekly

Node v22 to v24 Migration Guide — Now that v24 is the new active LTS release, you might have code running on v22 you need to upgrade. The Node team has put together this helpful guide to the changes you’ll need to negotiate. There are similar guides for v20 to v22, v14 to 16, and v12 to v14.

Node.js Core Team

💡 There are also official userland migration codemods to assist with upgrades. For example, there's one to change import .. assert to import .. with in a v20 to v22 migration, say.

TypeScript: From First Steps to Professional — Learn TypeScript step-by-step with Anjana Vakil, and gain confidence writing code you can trust! Add strong types, reuse interfaces, and apply type safety throughout your app with hands-on projects converting JavaScript to TypeScript.

Frontend Masters sponsor

Importing Node Modules from BitTorrent — There's little practical motivation for this in production, but it's a fascinating experiment that shows off what Node’s customization hooks can do for overriding imports. Worth a read as inspiration fuel.

Evan Hahn

Node.js 24 Becomes LTS: What You Need to KnowNode v24.11.0 (LTS) has arrived and marks Node 24’s transition to becoming the active LTS release. There are no changes from the prior v24 release, but Lizz looks at how Node 24 differs from 22 if you’re upgrading.

Lizz Parody

IN BRIEF:

Running Node.js in a Hugging Face Space — If you, like Thomas, were saddened by the closure of Glitch — here’s a brief look at using Hugging Face Spaces (most commonly associated with ML projects) as an alternative for hosting small server-based Node apps.

Thomas Steiner

Turn Office Files into PDFs Automatically — Step-by-step Node/Python workflow: trigger on Dropbox uploads and convert docs to PDF with Foxit PDF Services API.

Foxit Software sponsor

📄 Why We Migrated from Python to Node.js – They didn’t like Python’s async story, but do now love MikroORM. Yakko Majuri

📄 Why NaN !== NaN (and the IEEE 754 Story Behind It) – The number that's also not a number. Piotr Zarycki

📄 Using URLPattern as a Framework-Free Router in Node 24 JSDev

🛠 Code & Tools

🖼️ image-dimensions: Get the Dimensions of an Image — A quick way to get the pixel width and height of JPEG, PNG/APNG, GIF, WebP, AVIF and HEIF images in any modern JavaScript environment.

Sindre Sorhus

💡 If you need to support for even more formats, image-size is another Node-only option.

type-flag: A Typed Command-Line Arguments Parser — A way to define the types for your command line arguments and enforce them.

Hiroki Osame

Electron 39.0: The Cross-Platform Desktop App Framework — We briefly mentioned this last week but it now has a proper blog post. Electron bumps up to Chromium 142, V8 14.2, and Node 22.20.

Charles Kerr

on-change 6.0: Watch an Object or Array for Changes — Uses proxies and works recursively.

Sindre Sorhus

📰 Classifieds

🐱 ConfigCat Feature Flag Service lets you release and roll back features safely without code changes. Set it up in minutes! Save 25% now!

sitemap.js 9.0: Sitemap Generation Library and CLI Tool — XML ‘sitemap’ files help search spiders (e.g. Googlebot) crawl your site and you can offload the boring task of generating them to this library/CLI. Now an ESM-first library.

Eugene Kalinin