The state of Node.js in 2023
#481 — April 11, 2023
ℹ️ I mentioned it in the last issue, but in case you missed it, Node Weekly is now sent on Tuesdays, so if you missed us, we’re back. Until we take another break in August. 😉
Peter Cooper, your editor
Trying Node’s Built-In Test Runner — In 2022, Node gained an experimental built-in test runner (node:test). It’s going to become stable in the forthcoming Node v20, so it’s a good time to look at how it works and how it compares to other solutions you might already be using.
Improve Login for Your Web Apps with Web Authentication APIs — Upgrade from basic passwords to new APIs like Credentials, WebAuthn API, and Passkeys to use FaceID and biometrics to make passwordless web apps!
Frontend Masters sponsor
Node v19.9.0 (Current) Released — URL.canParse is a new function that checks if an input can be parsed correctly according to the WHATWG URL spec. node:diagnostics_channel introduces TracingChannel, a high-performance channel to publish tracing data about the timing of function executions. Plus the usual dependency updates and bug fixes.
▶ The State of Node.js 2023 — One of This Dot Media’s occasional livestreams where they bring together well known names from a particular area to talk about the state of a technology. This time, James Snell, Beth Griggs, Michael Dawson, and Matteo Collina logged on to talk about all things Node related including the imminent release of Node 20, the importance of the working groups, security, certifications, and more. (63 minutes.)
This Dot Media
After three years of diligent service, Node 14’s ‘End of Life’ is later this month, so if you’re on Node 14, get an upgrade plan drawn up ASAP.
▶️ The Node.js repo visualized over time with Gource, a tool for visualizing source code repository growth.
The folks at Socket are looking into using ChatGPT to do threat analysis of npm packages.
PGP-based npm registry signatures will be deprecated on April 25th 2023.
Mastering Yarn’s Lifecycle with Hooks — Aims to equip you with the knowledge needed to create your own Yarn plugins and “elevate your package management game”.
🛠 Code & Tools
NPKILL 0.11.1: Delete node_modules Even Faster — NPKILL (homepage) is a popular tool for listing node_modules folders and how much space they take up, before allowing you to quickly delete them. This new release makes it even faster than before through using worker threads.
Gallardo and Gómez
Chrome Extension CLI: CLI for Building Chrome Extensions — Want to get building an extension for Chrome as quickly as possible? This Node-powered tool aims to get you on the right path ASAP. v1.4 adds a script to generate a zip file of the extension.
cron-schedule 4.0: Cron Parser and Scheduler — Parse and query cron style expressions in the browser, Node or Deno.
tsPEG: A PEG Parser Generator for TypeScript
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.
↳ TDS module for connecting to SQL Server.
↳ Automate end-to-end web testing.
↳ rm -rf for Node apps.
↳ Fast and simple SQLite3 library.
↳ Full-featured webapp framework.
↳ The fast and efficient package manager.
↳ Middleware engine for AWS Lambda.