#​490 — June 13, 2023

Read on the Web

Together with  Memetria
Node.js Weekly

An Introduction to Debugging Tools and Approaches for Node — An informative primer on debugging, from simple things like using IDE extensions to highlight potential problems or, yes, console logging, through to using the V8 inspector and debugging via Chrome.

Craig Buckler

Node v20.3.0 (Current) Released — On paper, it's a minor release, but a libuv upgrade (the library that provides Node with its async I/O functionality) introduces significant performance improvements on Linux, AbortSignal.any() has been introduced, and Ruy Adorno’s presence on the Node.js TSC is officially recognized.

Michaël Zasso

Memetria: Secure, Scalable Redis 7 Hosting — The latest Redis features, instrumented and scaled with the tools teams need as they grow.

Memetria sponsor

Designing a Scalable Backend in Node — Three arbitrary scaling challenges for Node apps examined through the lens of a hypothetical personal budgeting app that has to interact with third party APIs.

Nate Anderson

`?` Backtick Strings are Likely the Wrong Tool for Your Job — It’s not uncommon to build URL query strings with JavaScript’s template strings, says Mattie, but this opens up potential injection problems. Luckily, there’s an alternative, safer, standardized approach..

Mattie Behrens

Reducing Search Latency with Server-Sent Events via Express — If you have a situation where information takes a long time to fetch and collate, you might want to stream it to clients so they can get something on screen faster. If that streaming is only in a single direction, SSE is a good fit vs WebSockets.

Michael Shi (HyperDX)

🚀 Need to Upgrade React Native from V0.59 to V0.71? We Can Help 🚀 — Read the full case study on our bold upgrade strategy (regenerating the ReactNative project) to reduce tech debt.

UpgradeJS | JS Upgrade Services sponsor

Why You Should Pin Your GitHub Actions by Commit Hash — As per the OSSF Scorecard, pinning an action to a full-length commit SHA is currently the only method to ensure the use of an action as an immutable release.

Rafael Gonzaga

How to Generate Presigned URLs with AWS Node.js SDK V3
Raymond Camden

🛠 Code & Tools

⏱🌎  tz-lookup 8.0: Fast Time Zone Estimations from Latitude and Longitude“This package trades speed and size for accuracy.” At 10x smaller and 20x faster than node-geo-tz, this might be accurate enough for your timezone inference use cases.

Matthew McEachen

Traf: Find Truly Affected Packages in Monorepos — If you’re waiting on CI tasks due to a small package update in your monorepo, this is for you. Traf optimizes your monorepo dev process by finding affected dependencies and selectively triggering builds and tests only when needed.

Lemonade

WhatWG Node: WhatWG Standard API Packages for Node — Using the ponyfill approach (nothing is patched or modified under the hood) you can use the Fetch standard both in a client or server adapter context, as well as the DOM Events Standard.

Arda TANRIKULU

pgsql-ast-parser 11.1: A Simple Postgres SQL Parser — A TypeScript-based SQL syntax parser that produces a typed AST. It’s used as part of the author’s pg-mem project which provides a mini, ‘in memory’ Postgres clone in Node or the browser.

Olivier Guimbal

Untildify: Convert a Tilde Path to an Absolute Path — For example: ~/dev might become /Users/sindresorhus/dev

Sindre Sorhus

💻 Jobs

Find Tech Jobs with Hired — Hired makes job hunting easy-instead of chasing recruiters, companies approach you with salary details up front. Create a free profile now.
Hired

  • Destr 2.0 – Faster alternative for JSON.parse. Now type safe by default.

  • Crawlee 3.4 – Web scraping and browser automation library.