#531 — May 7, 2024 |
|
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 Matteo Collina |
IN BRIEF:
|
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 |
|
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. nashaofu |
|