#​534 — June 4, 2024

Read on the Web

🫣 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
Node.js Weekly

10 Modern Node.js Runtime Features to Start Using in 2024 — If it ever feels like the new feature spotlight shines too much on Bun or Deno, 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 — Node’s performance measurement APIs 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

WorkOS: Enterprise-Grade Auth You Can Implement in Minutes — 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 — Dr. Axel digs into the stage 4 Promise.withResolvers proposal and how it could make creating promises far more elegant.

Dr. Axel Rauschmayer

QUICK BITS:

Node.js Test Runner: A Beginner's Guide — Modern versions of Node have their own test runner built in.

Stanley Ulili

📄 ECMAScript Proposal: Duplicate Named Capturing Groups for Regular Expressions Dr. Axel Rauschmayer

📄 Summarizing Substack Articles Using OpenAI from Node Marco Moauro

📄 Integrating a (Somewhat) Custom CMS with Eleventy Cory Dransfeldt

📄 Summarizing Audio with LLMs in Node.js – Using the AssemblyAI platform. Niels Swimberghe (AssemblyAI)

📄 Your API Shouldn't Redirect HTTP to HTTPS Joachim Viide

📰 Classifieds

Your fastest path to production. With Render, you can build, deploy, and scale your apps with unparalleled ease – from your first user to your billionth.


Learn to handle uploads in the backend efficiently and know the things to consider while designing a file upload system.


🪝 Hookdeck: a serverless queue for your event-driven applications. Get started.

🛠 Code & Tools

Zigar: Write and Use Zig Code in Node and Electron ProjectsZig 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 — A fork of the powerful Piscina that aims for fewer depdencies and a smaller footprint overall. Key updates listed here.

Tinylibs

Transformational Auth & Identity | Userfront — "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 — 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 — 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 jqjq 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 — Can you work with USB at a low level from Node code? You sure can.

Node USB

⚙︎ Regexper – Visualize regular expressions as a diagram. Jeff Avallone

⚙︎ LightAPI – A lightweight express API boilerplate. Logan B

⚙︎ PyMiniRacer – Python / V8/JS interoperability. Ben Creech