---
title: "Principles for doing Node right at scale"
publication: "Node Weekly"
issue: 549
published_at: "2024-09-24"
canonical_url: "https://nodeweekly.com/issues/549"
---

Plus more digging into Express v5, Node v22.9.0, and Deno 2.0. |        

#​549 — September 24, 2024 

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

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://www.enterprise-ready.com/)  

![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/tjxb74avjrchrg2kc4pg.jpg)](https://www.platformatichq.com/node-principles)  

[The Nine Node Pillars: Principles for Doing Node Right in the Enterprise](https://www.platformatichq.com/node-principles) — An interesting resource from a group of prolific and productive Node.js contributors. It’s designed to act as a checklist to identify gaps in your current Node development practices, particularly when building larger scale apps. 

Snell, Venditto, Dawson, Collina, et al.   

[Node v22.9.0 (Current) Released](https://nodejs.org/en/blog/release/v22.9.0) — The latest cutting edge Node has a new API for retrieving the stack trace of the current execution. It also disables V8’s [Maglev](https://v8.dev/blog/maglev) optimizing JIT due to upstream reliability problems and the necessity for Node v22 to stick with V8 v12.4 when it goes LTS next month. 

Rafael Gonzaga   [![\](https://copm.s3.amazonaws.com/f1a6594d.png)](https://www.enterprise-ready.com/) 

[WorkOS Enterprise Ready Conference](https://www.enterprise-ready.com/) — A one-day event in SF for product and engineering leaders shaping the future of enterprise SaaS. Speakers from **OpenAI, Asana, Slack, Canva, Vanta,** and more. Topics will include user identity, compliance, encryption, and logging — common features you need to support to sell to enterprises. 

WorkOS sponsor   

[What's New in Express.js 5.0](https://www.trevorlasn.com/blog/whats-new-in-express-5) — [We mentioned](https://nodeweekly.com/issues/547) Express 5.0 and some of its new features recently, but here's a deeper look at what it has to offer. The updates are largely incremental, but set the stage for Express’s future. A few breaking changes necessitate the major version bump. 

Trevor I. Lasn   

📺 If you'd prefer a live, video walkthrough, CJ of _Coding Garden_ has one in '[Express v5 is Here](https://www.youtube.com/watch?v=kY1EHa0dCss)' over on YouTube.  

**IN BRIEF:** 

- 🎉 It's not just Express hitting 5.0, [Fastify v5 has been officially released too.](https://openjsf.org/blog/fastifys-growth-and-success) There's a [complete v5 migration guide](https://fastify.dev/docs/v5.0.x/Guides/Migration-Guide-V5/) if you want to upgrade.
- 🇪🇺 [NodeConf EU is back.](https://ti.to/nearform/nodeconf-eu-24) It takes place in Ireland this November 3-6.   

[Now You Can Compile and Run C in JavaScript](https://bun.sh/blog/compile-and-run-c-in-js) — Well, if you’re using [Bun](https://bun.sh/), anyway. [Bun v1.1.28](https://bun.sh/blog/bun-v1.1.28) lands experimental support for compiling and native C code and then running its functions from JavaScript. 

Jarred Sumner (Bun)   

[A Comprehensive Guide to Node.js Addons](https://mertcan.vercel.app/comprehensive-guide-to-nodejs-addons) — If you’d rather stick with Node than use Bun’s newest feature to bring C/C++ etc. into JavaScript, writing your own addon remains a dependable approach. 

Mert Can Altin   

[Roll Your Own Autoscaler](https://judoscale.com/blog/how-to-roll-your-own-autoscaling?ref=NodeWeekly) — Prefer to keep your autoscaling in-house? Here’s how we built ours. 

Judoscale sponsor   

📄 [Node 20 Upgrade: A Journey Through Unexpected Heap Issues with Kubernetes](https://deezer.io/node-js-20-upgrade-a-journey-through-unexpected-heap-issues-with-kubernetes-27ae3d325646) Ztec / Deezer 

📄 [Getting Started with Testcontainers for Node.js](https://collabnix.com/getting-started-with-testcontainers-for-node-js/) Ajeet Raina 

📄 [Why We Switched from Cypress to Playwright](https://www.bigbinary.com/blog/why-we-switched-from-cypress-to-playwright) S Varun (BigBinary)    

🛠 Code & Tools 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/iisfvhhppyzgklxe0ve7.jpg)](https://deno.com/blog/v2.0-release-candidate)  

[Deno 2.0 Release Candidate](https://deno.com/blog/v2.0-release-candidate) — Deno started life as a manifestation of ideas that Node’s original creator, Ryan Dahl, had after his experiences with Node. Deno 2 is the next step: how the Deno team thinks _Deno_ should ultimately be. Many changes await: `window` is gone and Node’s `process` appears, dependency management has been improved, numerous APIs have gone stable (e.g. WebGPU), and both Node.js API and CommonJS support have continued to improve. 

Bartek Iwańczuk and Andy Jiang   

[ts-remove-unused: Remove Unused Code from TypeScript Projects](https://github.com/line/ts-remove-unused) — A tool to auto-fix unused exports and delete modules that have no referenced exports. [Knip](https://knip.dev/) is another established tool in this space focused more on _detecting_ removable things. 

LINE      

📰 Classifieds   

🚀 [Run, scale & secure your Node.js apps in one command](https://hubs.ly/Q02PXDmf0). Works for your stack. Just plug & play. 

--- 

🟢 [Node.js user?](https://hubs.ly/Q02Q61hh0) Here are 9 guiding principles for creating robust, scalable & maintainable apps in enterprise environments.     

[ts-blank-space: Fast Type-Stripping TypeScript to JS Compiler](https://bloomberg.github.io/ts-blank-space/) — It’s job is simple. Be the fastest TS to JS compiler written in JS (it’s 5.6x faster than `tsc`.) Types are simply replaced with whitespace. It preserves the coordinates of the JS code which eliminates the need for sourcemaps entirely. 

Ashley Claymore / Bloomberg   

[libpg-query-node: Postgres' SQL Parser, Exposed for Node](https://github.com/launchql/libpg-query-node) — Use Postgres’s SQL parser at a low level from Node via libpg_query. If you want something higher level, this library is used by [pgsql-parser](https://github.com/launchql/pgsql-parser) which gives the ability to parse and serialize queries into/from ASTs. 

Dan Lynch   

💌 And if you're into Postgres, be sure to [check out our Postgres newsletter.](https://postgresweekly.com/)  

[Piscina 4.7: Node.js Worker Pool Library](https://piscinajs.github.io/piscina/) — Efficiently run CPU-intensive tasks in parallel using [worker threads](https://nodejs.org/api/worker_threads.html) in a controlled manner. [GitHub repo.](https://github.com/piscinajs/piscina) 

James M Snell et al.   

- [WebdriverIO 9.1](https://webdriver.io/) – Browser and mobile automation test framework for Node.
- [aws-lambda-fastify 5.0](https://github.com/fastify/aws-lambda-fastify) – Run Fastify v5 apps on AWS Lambda.
- [Verdaccio 6.0](https://github.com/verdaccio/verdaccio) – Lightweight Node.js private proxy registry.
- [pnpm 9.11](https://github.com/pnpm/pnpm/releases/tag/v9.11.0) – The fast, efficiency-focused package manager.
- [zx 8.1.8](https://github.com/google/zx) – Google's tool for better Node shell scripting.
- [NodeBB 3.9](https://github.com/NodeBB/NodeBB) – Node.js-powered forum system.
- [Strapi 5.0](https://github.com/strapi/strapi/releases/tag/v5.0.0) – Popular Node.js headless CMS.
- [OpenAI Node API Library v4.63.0](https://github.com/openai/openai-node/releases/tag/v4.63.0)    

**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|*).
