Getting recursive with Node 20.1

May 9, 2023 By Mark Otto 0

Node.js Weekly

???? 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

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

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

▶  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

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

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