cd /home/nodejs/news

July 21, 2022 By Mark Otto 0

Node.js Weekly

Working with File System Paths — Dr. Axel puts on his scuba gear and resumes his deep dive into Node with a look at ways to manipulate file system paths using core packages, including taking into account differences between Windows and POSIX systems.

Dr. Axel Rauschmayer

Nodemailer Plugin: Downstream ESP Switch Configurator — Architecting the communications strategy for our products can be a problem. The decisions we have to make are hard, confusing and prone to change, and the last thing we want to invest is precious time and energy into notifications.

Courier.com

An Introduction to Multithreading in Node.js — Node’s concurrency story is mostly oriented around a single thread and an event loop, but worker threads, first introduced in Node 10, open the door to a more classical multithreaded concurrency approach. This post covers them at a high level with just enough to help you decide if they make sense for you or not.

Kayode Oluwasegun

Testing Bun’s Speed and Compatibility with Node.js — David decided to put Bun (a much celebrated newcomer to the JS runtime world) through its paces to see how it would fare with a real world app vs Node.js. Unsurprisingly for an app with real world pressures (file system, network, et al.) the difference in performance was minor, but he was impressed at how seamlessly it worked.

David Herron

🛠 Code & Tools

QUICK RELEASES:

Pino 8.2 – Fast, low overhead JSON logger.
Commander.js 9.4 – Node.js command line app framework.
Prisma 4.1 – The next-gen ORM for Node.js and TypeScript.
Undici 5.8 – The from-scratch HTTP/1.1 client. Security fix release.
Nightwatch 2.3 – End-to-end testing framework.
Midway 3.4.2 – Node.js serverless app framework.
node-resque 9.2 – Redis powered background jobs system.

Find Tech Jobs with Hired — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It’s free for job-seekers.
Hired