#580 — June 3, 2025 |
|
![]() |
![]() |
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 Stack — Llama 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 Trunker – Trunker is middleware for Express for implementing feature flags. Miguel Migliorelli 📄 Write More Reliable JavaScript with Optional Chaining – It 📄 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 Ran Yitzhaki |
Zigar: Write and Use Zig Code in Node and Electron Projects — Zig 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 |
|
|
📢 Elsewhere in JavaScript |
A roundup of some other interesting stories in the broader JavaScript landscape, in case you've missed them:
|