---
title: "The newest Node.js runtime features"
publication: "Node Weekly"
issue: 534
published_at: "2024-06-04"
canonical_url: "https://nodeweekly.com/issues/534"
---

Plus, yes, we took a week off, but we're back! |        

#​534 — June 4, 2024 

[Read on the Web](https://nodeweekly.com/issues/534)   

🫣 Node Weekly took a break last week, but we forgot to notify you in advance - sorry! You didn't miss anything, and we're catching up with the past two weeks today :-)
__
_Your editor, Peter Cooper_ 

Together with [![WorkOS\](https://res.cloudinary.com/cpress/image/upload/c_fill,g_auto,w_514,h_98/e_make_transparent/co_white,e_outline:9/tdfxwgk852ui9leli4wm.png)](https://workos.com/?utm_source=cpnode&utm_medium=newsletter&utm_campaign=q22024)  

![Node.js Weekly](https://res.cloudinary.com/cpress/image/upload/v1653576619/lgfqinzbdqttwmhvljxb.png) 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/d6y6tgdfhc3o9grwu4go.jpg)](https://snyk.io/blog/10-modern-node-js-runtime-features/)  

[10 Modern Node.js Runtime Features to Start Using in 2024](https://snyk.io/blog/10-modern-node-js-runtime-features/) — If it ever feels like the new feature spotlight shines too much on [Bun](https://bun.sh/) or [Deno](https://deno.com/blog), never fear - Node has been taking huge strides forward too. Liran helps us catch up with a lot of the newest Node features. 

Liran Tal   

[Mastering Node.js Performance Hooks](https://pavel-romanov.com/nodejs-performance-hooks-mastering-the-mental-model) — Node’s [performance measurement APIs](https://nodejs.org/api/perf_hooks.html) provide a lot of power, but it can be tricky to get your head around the mental model of what they measure and where they make sense. Pavel tries to clear it all up for us. 

Pavel Romanov   [![\](https://copm.s3.amazonaws.com/f235d137.png)](https://workos.com/?utm_source=cpnode&utm_medium=newsletter&utm_campaign=q22024) 

[WorkOS: Enterprise-Grade Auth You Can Implement in Minutes](https://workos.com/?utm_source=cpnode&utm_medium=newsletter&utm_campaign=q22024) — Like an enterprise plan in a box: WorkOS provides flexible, easy-to-use APIs to integrate SSO, SCIM, Audit Logs, User Management, and RBAC. It's used by some of the hottest startups including Perplexity, Vercel, & Webflow. Future-proof your auth stack with WorkOS. 

WorkOS sponsor   

[Digging Into the `Promise.withResolvers()` Proposal](https://2ality.com/2024/05/proposal-promise-with-resolvers.html) — Dr. Axel digs into the stage 4 [`Promise.withResolvers`](https://github.com/tc39/proposal-promise-with-resolvers) proposal and how it could make creating promises far more elegant. 

Dr. Axel Rauschmayer   

**QUICK BITS:** 

- [Node v20.14.0 (LTS)](https://nodejs.org/en/blog/release/v20.14.0) and [v18.20.3 (LTS)](https://nodejs.org/en/blog/release/v18.20.3) were both released with minor fixes.
- 🎂 The Node.js Twitter/X account has [celebrated Node.js turning 15 years old.](https://x.com/nodejs/status/1795110360510300397)
- ESLint has approved an RFC [to add support for TypeScript configuration files.](https://socket.dev/blog/eslint-approves-rfc-to-add-support-for-typescript-config-files)   

[Node.js Test Runner: A Beginner's Guide](https://betterstack.com/community/guides/testing/nodejs-test-runner/) — Modern versions of Node have their own test runner _built in._ 

Stanley Ulili   

📄 [ECMAScript Proposal: Duplicate Named Capturing Groups for Regular Expressions](https://2ality.com/2024/05/proposal-duplicate-named-capturing-groups.html) Dr. Axel Rauschmayer 

📄 [Summarizing Substack Articles Using OpenAI from Node](https://implementing.substack.com/p/summarize-substack-articles-using-chatgpt-nodejs) Marco Moauro 

📄 [Integrating a (Somewhat) Custom CMS with Eleventy](https://coryd.dev/posts/2024/integrating-a-somewhat-custom-cms-with-eleventy/) Cory Dransfeldt 

📄 [Summarizing Audio with LLMs in Node.js](https://www.assemblyai.com/blog/summarize-audio-with-llms-nodejs/) – Using the AssemblyAI platform. Niels Swimberghe (AssemblyAI) 

📄 [Your API Shouldn't Redirect HTTP to HTTPS](https://jviide.iki.fi/http-redirects) Joachim Viide       

📰 Classifieds   

Your fastest path to production. [With Render, you can build, deploy, and scale your apps with unparalleled ease](https://render.com?utm_source=coopeprpress&utm_medium=cooperpress) – from your first user to your billionth. 

--- 

Learn to [handle uploads in the backend efficiently](https://imagekit.io/blog/nodejs-image-upload/?utm_source=Cooperpress&utm_medium=email&utm_campaign=Mediapromotion_Q124&utm_term=NodeWeekly&utm_content=Classified_Link) and know the things to consider while designing a file upload system. 

--- 

🪝 [Hookdeck](https://hookdeck.com/discover/nodeweekly?ref=nodeweekly-534): a serverless queue for your event-driven applications. [Get started](https://hookdeck.com/discover/nodeweekly?ref=nodeweekly-534).     

🛠 Code & Tools  

[Zigar: Write and Use Zig Code in Node and Electron Projects](https://github.com/chung-leong/zigar) — [Zig](https://ziglang.org/) is a newish systems language that’s essentially a superset of C/C++. _Zigar_ makes it possible to write and use C/C++/Zig code more easily within JavaScript projects. 

Chung Leong   

[Tinypool 1.0: An Even Smaller Node.js Worker Pool Library](https://github.com/tinylibs/tinypool) — A fork of the powerful [Piscina](https://github.com/piscinajs/piscina) that aims for fewer depdencies and a smaller footprint overall. [Key updates listed here.](https://github.com/tinylibs/tinypool/releases/tag/v1.0.0) 

Tinylibs   

[Transformational Auth & Identity | Userfront](https://userfront.com/?&utm_source=nodeweekly-com&utm_medium=newsletter_sponsored_link&utm_campaign=magnitude&utm_content=transformational) — "Compared to our previous experiences in the security/auth space, Userfront is an order of magnitude simpler to use." 

Userfront sponsor   

[TypeScriptToLua: Write Lua with TypeScript](https://typescripttolua.github.io/) — Lua is embedded in all sorts of places (games, Redis, NGINX..) so being able to write JavaScript and have it converted could open up some extra opportunities for you. 

TypeScriptToLua Contributors   

🤖 [Experts.js: Create and Deploy OpenAI Assistants and Link Them Together](https://github.com/metaskills/experts) — Use OpenAI’s Assistants API to create specific LLM-based agents that you can link together to create a ‘Panel of Experts’ system. 

Ken Collins   

[node-jq 4.4: A Node Wrapper for `jq`](https://github.com/sanack/node-jq) — [jq](https://jqlang.github.io/jq/) is a popular and powerful command-line JSON processing tool that’s well worth having in your toolbox. It’s written in C, though, but this library simplifies calling out to it from Node. 

sanack   

[node-usb 2.13.0: An Improved USB Library for Node](https://github.com/node-usb/node-usb) — Can you work with USB at a low level from Node code? You sure can. 

Node USB   

⚙︎ [Regexper](https://regexper.com/) – Visualize regular expressions as a diagram. Jeff Avallone 

⚙︎ [LightAPI](https://github.com/sharko99/light-api) – A lightweight express API boilerplate. Logan B 

⚙︎ [PyMiniRacer](https://bpcreech.com/post/mini-racer-v0.12.2/) – Python / V8/JS interoperability. Ben Creech   

- [express-openapi-validator 5.2](https://github.com/cdimascio/express-openapi-validator) – Auto-validate API requests and responses in Express against an OpenAPI 3.x spec.
- [MongoDB Node.js Driver 6.7](https://github.com/mongodb/node-mongodb-native/releases/tag/v6.7.0) – The latest official MongoDB driver. Now supporting MONGODB-OIDC authentication.
- [Fast Node Manager (fnm) 1.37](https://github.com/Schniz/fnm) – Rust-powered Node.js version manager.
- [Hono 4.4](https://github.com/honojs/hono/releases/tag/v4.4.0) – The Web framework based around web standards.
- [PM2 5.4](https://github.com/Unitech/pm2) – The popular process manager for production apps.
- [Middy 5.4](https://github.com/middyjs/middy) – Node middleware engine for AWS Lambda.
- [better-sqlite 11.0](https://github.com/WiseLibs/better-sqlite3) – A neat way to use SQLite from Node.
- [express-rate-limit 7.3](https://github.com/express-rate-limit/express-rate-limit) – Basic rate-limiting middleware.
- [node-hid 3.1](https://github.com/node-hid/node-hid) – Access USB & Bluetooth HID devices.
- [Vine 2.1](https://github.com/vinejs/vine) – Form data validation library for Node.
- [pg-promise 11.8](https://github.com/vitaly-t/pg-promise) – Postgres interface for Node.
- [ESLint 9.4.0](https://eslint.org/blog/2024/05/eslint-v9.4.0-released/)    

**Got a link for us?** Reply and tell us. We can't include everything but we'll look at anything you send. _Thanks!_ 

--- 

**Sponsorship:** Email `[kristina@cooperpress.com](mailto:kristina@cooperpress.com)` for details. 

--- 

Published by Cooper Press Ltd.
Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom 

[Cancel your subscription](https://nodeweekly.com/leave/*|UID|*) or [change your address](https://nodeweekly.com/edit_subscription/*|UID|*).
