#528 — April 16, 2024
A Trip Report from the Latest Node.js Collaboration Summit — Twice a year, Node’s collaborators and community members meet at collaboration summits to share knowledge, discuss problems, and flesh out new ideas. The last one took place in London earlier this month and featured discussion on Node’s HTTP stack, a new node –run feature, ES modules support, package management, and more. A good update!
Joyee Cheung
Profiling Node Performance with Chrome’s Performance Panel — Learn how to profile Node.js performance with the Performance panel in Chrome. (Note that the JS Profiler is going away as of Chrome 124, so if you’re still using it, you’ll want to be familiar with the newer approach shown here.)
Chrome for Developers
Optimize Database Performance with Crunchy Bridge — Boost your Postgres performance with Crunchy Bridge! YNAB experienced 30% more IOPS and a 10% cost reduction. Scale seamlessly, stay on vanilla Postgres, and optimize spend. Read more in the YNAB case study.
Crunchy Bridge sponsor
An Introduction to the Node.js Performance API — The perf_hooks module provides a subset of the W3C Web Performance APIs and additional APIs for Node-specific perf measurements. This guide shows how to use several of its features.
Stanley Ulili
Building a CLI from Scratch with TypeScript and oclif — oclif is a mature CLI tool development framework maintained by Salesforce. This tutorial goes from zero to something that works.
Josh Cunningham
The April 10 Node.js Security Releases — Another week, another set of security releases, made up of v18.20.2 (LTS), v20.12.2 (LTS), and v21.7.3 (Current). The main issue relates to a command injection vulnerability on Windows.
Rafael Gonzaga
IN BRIEF:
🗣 The folks on Hacker News have been discussing Node.js vs the .NET Core ecosystem, following a similar discussion 8 years ago.
Video tooling platform Mux explains how its team has brought its Node SDK up to speed with the modern ‘Node-ish’ JavaScript ecosystem and introduced support for other runtimes.
Deno’s Luca Casonato explains how they built the new JSR registry.
Biome v1.7 has been released and provides an easier path to migrate to it from ESLint and Prettier.
State Machines Simplified — Discover the simplicity and durability of Temporal, your solution to complex state machine challenges. Unlock efficiency now!
Temporal Technologies sponsor
📄 Nine Docker Pro-Tips for Node Developers Liran Tal
📄 How I Reduced Database Load with Bloom Filters in Redis Marco Moauro
📄 How to Capture Node’s Garbage Collection Traces Ram Lakshmanan
🛠 Code & Tools
Catena: Build Type-Safe APIs on Express — Inspired by tRPC, but you can layer it on top of an existing Express codebase.
Lightning Technologies GmbH
MikroORM 6.2: Say Hello to SQL Server (and libSQL) — MikroORM is a popular TypeScript-based ORM based on Data Mapper, Unit of Work and Identity Map patterns, and now it supports Microsoft SQL Server, as well as offering better type safety for custom types.
Martin Adámek
📰 Classifieds
Learn from experts how to build a free GenAI chatbot with MongoDB Atlas Vector Search and Node.js. Sign up now!
🗣️”Compared to our previous experiences in the security/auth space, Userfront is an order of magnitude simpler to use.”
Madge 7.0: Create Graphs From Your Module Dependencies — A developer tool for generating a visual graph of your module dependencies, finding circular dependencies, and unearthing other useful info.
Patrik Henningsson
Modern Errors 7.0: Handle Errors in a Simple, Stable, Consistent Way — Create error classes, wrap or aggregate errors, or use one of several plugins to do things like print bug reporting info, print stack traces, and more.
ehmicky
iCal.js 2.0 – Parser for ICS (RFC5545) and vCard (RFC6350).
better-sqlite 9.5 – Neat way to use SQLite v3.45.2 from Node.
better-sqlite3-multiple-ciphers 9.5 – A better-sqlite3 (above) fork with multiple cipher encryption support.
Slonik 40.2.5 – Node.js Postgres client with type safety.
JZZ 1.8.2 – MIDI library for Node and browsers.
Strapi 4.23 – Popular Node.js headless CMS.