#​580 — June 3, 2025

Read on the Web

Together with  Tonkotsu logo
Node.js Weekly

php-node: A New Way to Bring PHP and Node Together — I bet some readers have strong feelings about the idea of mixing PHP and Node.js, but this is a neat project. php-node is a native module for Node that enables the running of PHP apps within the Node environment. Why? For migrating legacy apps, building hybrid PHP/JS apps, or Node apps that simply need to call out to PHP for some reason (WordPress, maybe, as we see in this post).

Matteo Collina et al.

🍜 Tonkotsu Makes You the Tech Lead for a Team of Agents — Tonkotsu helps plan your project and break tasks down. You choose which coding tasks to delegate to Tonkotsu - it can do multiple tasks in parallel. You're the tech lead and approver for Tonkotsu's work. Join our free early access program to try.

Tonkotsu sponsor

IN BRIEF:

Implement AI Safeguards with Node.js and Llama StackLlama Stack is Meta’s framework for building AI apps in Node, Python, Swift or Kotlin.

Michael Dawson (Red Hat)

📄 Managing Feature Flags in Express with TrunkerTrunker is middleware for Express for implementing feature flags. Miguel Migliorelli

📄 Write More Reliable JavaScript with Optional Chaining – It might?.be?.a?.good?.idea Matt Smith

📄 Building a Linux Electron App – Electron is cross-platform, but there are still platform specific quirks to be aware of. Liu Liu (DoltHub)

📄 Production-Grade Logging in Node.js with Pino Ayooluwa Isaiah (Dash0)

🛠 Code & Tools

qnm: A CLI Tool to Look Into node_modules — If you’ve ever been overwhelmed by what’s in node_modules, this tool lets you dig around with some guidance as to what is what. You can use fuzzy search to find specific things as well as see which modules are using the most space (you can try it right now with npx qnm doctor).

Ran Yitzhaki

Zigar: Write and Use Zig Code in Node and Electron ProjectsZig is a systems language that’s essentially a superset of C/C++ (Bun is written in it). Zigar makes it possible to write and use C/C++/Zig code more easily within JavaScript projects.

Chung Leong

🤖 OpenAI Client 5.x: Use OpenAI's Models from Node — The latest version of OpenAI’s official JavaScript library for its various APIs now has support for all its latest models and the Realtime API (v5.0 changelog). It also supports Deno and Bun.

OpenAI

Opossum 8.5: A Circuit Breaker for Async Functions — You can do things like trigger a failure after a certain timeout, fail entirely if a certain error threshold is reached, etc. GitHub repo.

Red Hat

🏖️ Beachpatrol: A CLI Tool to Automate Your Everyday Web Browser — A higher level way to use Playwright on macOS or Linux to control a regular non-headless browser instance. It’s essentially an approach where you still want a visible browser you can use in a normal way but with added automation possibilities.

Sebastian Carlos

  • ESLint v9.28.0 – The popular linter/static analysis tool adds even more TypeScript syntax support to core rules.

  • Express Zod API 24.0 – Quick schema validation and custom middleware. Supports the new Zod 4.

  • Bun v1.2.15 – Gains a bun audit tool for performing security audits of project dependencies.

  • 📄 pdf2html 4.0 – Convert PDFs to HTML using Apache Tika and PDFBox (so needs a JRE present).

  • Ink 6.0 – Use React to build CLI apps. Now supports React 19 and requires Node.js 20.

  • Ts.ED 8.11 – Node + TypeScript framework on top of Express.

  • Tinypool 1.1 – Small, minimal Node worker thread pool implementation.

📰 Classifieds

Bit Cloud - AI Software Composition Platform. Compose high-quality professional software with AI for simplicity, speed and control. Build for Developers.


🤝 Run legacy PHP & modern Node in one pipeline for a new, modern, and seamless developer experience. Try it now!

📢  Elsewhere in JavaScript

A roundup of some other interesting stories in the broader JavaScript landscape, in case you've missed them: