#​485 — May 9, 2023

Read on the Web

Together with  AppSignal logo
Node.js Weekly

Node v20.1.0 (Current) Released — If you’re still catching your breath after the epic Node 20 release, don’t fear – 20.1 is a more typical bugfix, dependency update, and tweak-style affair.

Michaël Zasso

💡 That said, the fs readdir and opendir functions get a new recursive option which, a commenter notes, could replace some popular third party packages that do the same thing, such as recursive-readdir which gets over 5 million downloads a week(!)

Smooth Logging for Node.js Developers — Unlock the power of logs with AppSignal. Find all the key information in a few clicks in our clean and intuitive interface. Setting up logging and monitoring can be easy, AppSignal is here to show you how.

AppSignal sponsor

A Practical Guide to Not Blocking the Event Loop — Typically, JavaScript engines run JavaScript in a single thread with an event loop. However, the nature of mixing synchronous and asynchronous tasks, along with the increasing popularity of workers for running code on separate threads, makes the landscape harder to navigate than it used to be.

Slava Knyazev

IN BRIEF:

GitHub Actions Enforcing Switch from Node 12 to 16 — Node 12 was released in 2019 and is ‘end of life’ so this update is due. As of May 18, the use of Node 16 (which is currently just optional) for running Actions will be enforced so be sure that your workflows are ready.

GitHub Blog

▶  Creating Node Libraries with Rust using Neon: Live — We’ve recently linked to posts on using NAPI-RS for building Rust-powered addons for Node, but Neon offers another approach and you can watch the process live.

Luciano Mammino

▶  Building a Twitter-Like Backend: A Step-by-Step Guide — You’ll need some serious time to get through this (5 hours!) but it covers building a REST API with Express, using Prisma for database interactions, passwordless auth with email, and more.

Vadim Savin

🛠 Code & Tools

Handbrake-JS 7.0: Control Video Encoding and Transcoding from Node — An interface to the popular, open source Handbrake video transcoding tool.

Lloyd Brookes

Node Authorization, Simplified — Follow this step-by-step guide to easily add role-based access control (RBAC) to a React frontend and Node backend.

Aserto sponsor

A Boilerplate and Starter App for Node Serverless Apps — Leans upon Serverless Framework, Express, TypeScript, Prisma, Husky and more to provide a lot of functionality out of the box.

Remi W.

ultramatter: A <1KB Library for Parsing Frontmatter — A dependency-free JavaScript library that parses YAML-based frontmatter on files.

Nate Moore

Notion-to-MD: Convert Notion Pages to Markdown — Supports a lot of special formatting and structure that the popular note-taking system offers.

Souvik Kar Mahapatra

AutoCannon 7.11: A Fast HTTP/1.1 Benchmarking Tool — Inspired by wrk and wrk2 with support for HTTP pipelining.

Matteo Collina

💻 Jobs

Team Lead Web Development — Experienced with Node, React, and TS? Join us and lead a motivated team of devs and help grow and shape the future of our web app focused on helping millions explore the outdoors.
Komoot

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