#​546 — September 3, 2024

Read on the Web

Together with  Frontend Masters logo
Node.js Weekly

Prisma 5.19.0, Now with 'Typed SQL'Prisma is a popular declaratively-driven ORM in the Node.js / TypeScript world and its new version makes it possible to write raw SQL queries in a type-safe way.

Nikolas Burk

Node v22.8.0 (Current) Released — This landed just before we hit ‘send’! :-) The enhancements are minor, but there are a few, including a new API for enabling on-disk code caching of modules (rather than using the NODE_COMPILE_CACHE env var) and a way to set required thresholds for code coverage measurements.

Rafael Gonzaga

Front-End System Design — Learn to create scalable, efficient user interfaces in this extensive video course by Evgennii Ray. Explore the box model, browser rendering, DOM manipulation, state management, performance and much more.

Frontend Masters sponsor

Multithreaded Programming in Node.js using AtomicsWorker threads enable you to write multi-threaded Node apps, but sharing resources across them can quickly become tricky. Atomics can help you avoid some of the pain.

Pavel Romanov

▶  Talking Deno 2 with Ryan Dahl — A chat with Deno creator Ryan Dahl (originally Node’s creator too) about the forthcoming Deno 2.0, its new features, and how it seamlessly integrates with popular frameworks like Next.js. Ryan shares insights on the motivations behind Deno’s creation, its emphasis on simplicity and security, and offers his take on the evolving JavaScript ecosystem.

Syntax․fm

How to Deploy Node to AWS Lambda with OpenTofu and GitHub Actions — Someone on Hacker News joked that this is how to deploy a Node.js app enterprise-style. A lot of tooling is involved, but this is the reality for many developers, and Meysam walks through the steps.

Meysam Azad

▶  Behind the Scenes: The Making of VS Code — A detailed conversation with two of the principal engineers who work on the engineering team of the popular Electron-powered editor.

Holland, Rieken and Pasero (Microsoft)

Why Playwright is Less Flaky Than Selenium — “Playwright is so fast that it forces you to write UI tests correctly on day one. Selenium isn’t.

Justin Searls

Developer’s Guide to Heroku Dynos — Which dynos should you use, and how many? (TLDR: Don’t use Perf-M!)

Judoscale sponsor

📄 How I Created a 3.78MB Docker Image for a JavaScript Service – A rather unorthodox approach, however. Shenzilong

📄 How Sentry Uses Mutation Testing on its JavaScript SDKs Lukas Stracke (Sentry)

📄 How to Handle Errors in Next.js for Node with the App Router Antonello Zanini

📄 Is Wasp the JavaScript Answer to Django for Web Development? Sam Jakshtis (Wasp)

🛠 Code & Tools

yocto-spinner: Tiny Terminal Spinner — Fresh from the one-man module powerhouse that is Sindre Sorhus comes a new project: a tiny, as simple-as-possible terminal spinner/progress control. (‘Yocto’ is a metric prefix that sits below nano, pico, femto, atto, and even zepto..)

Sindre Sorhus

google-spreadsheet: Google Sheets API Wrapper for Node — Work with Google’s online spreadsheet from Node, whether at the cell, row, worksheet or document level. Supports numerous auth options and you can export sheets for download too. GitHub repo.

Theo Ephraim

Light My Request: Fake HTTP Injection Library — Injects a fake HTTP request/response into a Node HTTP server for simulating server logic, writing tests, or debugging. Doesn’t use a socket connection so can be run against an inactive server (server not in listen mode).

Fastify

multicast-stream: Create a Multicast Stream Multiple Consumers Can Use Independently — We get two new libraries from Sindre this week. This one is a multicast stream that lets multiple consumers independently read the same data.

Sindre Sorhus