---
title: "node --run send_newsletter"
publication: "Node Weekly"
issue: 529
published_at: "2024-04-23"
canonical_url: "https://nodeweekly.com/issues/529"
---

Plus a streams masterclass with the streams master, the tide turns on edge, pnpm 9.0, and more. |        

#​529 — April 23, 2024 

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

Together with [![Frontend Masters logo\](https://res.cloudinary.com/cpress/image/upload/c_fill,g_auto,w_300,h_70/e_make_transparent/co_white,e_outline:5/nk0tfdvalivacz8rw7rt.png)](https://frontendmasters.com/learn/fullstack/?utm_source=email&utm_medium=nodeweekly&utm_content=fullstack)  

![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/ne86lxyhz6j8u9a4q51u.jpg)](https://www.youtube.com/watch?v=edB964-YYpE)  

▶[A Node.js Streams Masterclass](https://www.youtube.com/watch?v=edB964-YYpE) — What a treat! Join the creator of Fastify, as well as Node.js TSC member, on an hour long odyssey into the world of streams, a topic in which he specializes. He starts off quite poetically .. _a stream is like an array over time_ .. before quickly getting on to some live coding and demos. This is one in [a series of events](https://platformatic.dev/events/) put on by Platformatic. _(75 minutes.)_ 

Matteo Collina   

[The Perf Gains of Adding a Task Runner to Node.js](https://polar.sh/anonrig/posts/node-js-task-runner) — Instead of running `npm run test`, how does `node --run test` sound? First teased in [a 2023 pull request](https://github.com/nodejs/node/pull/46534), the motivation for this idea is to improve performance and get scripts running ASAP (think 20ms vs 200ms). It appears set to make it to a _Current_ Node.js release very soon. 

Yagiz Nizipli   [![\](https://copm.s3.amazonaws.com/065e4419.png)](https://frontendmasters.com/learn/fullstack/?utm_source=email&utm_medium=nodeweekly&utm_content=fullstack) 

[Fullstack & Backend Learning Path](https://frontendmasters.com/learn/fullstack/?utm_source=email&utm_medium=nodeweekly&utm_content=fullstack) — Expand your abilities with our extensive full stack learning path — teaching you how to set up servers, create APIs, and deploy your code to the world. You'll learn VIM fundamentals, API design in Node.js, containers, DevOps, and much more. 

Frontend Masters sponsor   

[Learn OAuth 2.0 by Building Your Own OAuth Client](https://annotate.dev/p/hello-world/learn-oauth-2-0-by-building-your-own-oauth-client-U2HaZNtvQojn4F) — When the author was first learning OAuth, he found lots of concept heavy, code-light tutorials, so he’s built something that’s truly _code-first._ This is a fantastic way to show off some code (using [Annotate](https://annotate.dev/)) and worth a look even if the topic doesn’t interest you. 

Alex Yakubovsky   

_IN BRIEF:_ 

- **TIDE TURNING ON EDGE?** _(Sorry, it's a tweet that could do with a proper article writeup, but..)_ Vercel's Lee Robinson [🐦 tweeted about how Vercel has reverted from edge rendering to Node.js](https://twitter.com/leeerob/status/1780705942734331983) for its [v0](https://v0.dev/) service. Where working at the _edge_ was expected to be faster, cheaper, and more secure, Vercel has experienced the opposite.
- [Electron 30.0](https://www.electronjs.org/blog/electron-30-0) has been released with the popular cross-platform app framework upgrading to Chromium 124, V8 12.4, and Node.js 20.11.1.
- ESET's security software implemented changes [that broke making secure HTTP requests from Node](https://forum.eset.com/topic/40702-eset-ssl-protection-produces-an-invalid-certificate-chain-for-nodejs-apps/) on many users' ESET-protected systems.   

[Building an npm Package Compatible with ESM and CJS in 2024](https://snyk.io/blog/building-npm-package-compatible-with-esm-and-cjs-2024/) — Publishing packages compatible with both ECMAScript Modules (ESM) and CommonJS (CJS) is a valuable skill and Liran has a few quick tips. 

Liran Tal   

[RAG to Riches Developer Quest](https://www.mongodb.com/events/rag-to-riches?utm_campaign=js_weekly_rag_to_riches_apr_23&utm_source=node_weekly&utm_medium=sponsored_newsletter) — Interact with AI-enhanced bots and learn to build your own RAG chatbot with Atlas Vector Search and Node.js. 

MongoDB sponsor   

📄 [Things I Learned from Organizing a Hybrid Unconference](https://joyeecheung.github.io/blog/2024/04/21/things-i-learned-from-organizing-a-hybrid-unconference/) – The recent Node.js collaboration summit, specifically. Joyee Cheung 

📄 [How to Deploy Directus to Render.com](https://blog.jamiin.com/how-to-deploy-directus-to-rendercom) – [Directus](https://github.com/directus/directus) is a Node-powered backend API layer backed by your SQL database of choice. Trust Jamin 

📺 [The Event Loop, Web APIs, and (Micro)task Queue Visualized](https://www.youtube.com/watch?v=eiC58R16hb8) – Lydia Hallie 

📄 [Containerize Node.js Applications at the Edge on RHEL and Fedora](https://developers.redhat.com/articles/2024/04/16/containerize-nodejs-applications-edge-rhel-and-fedora) – Michael Dawson (Red Hat) 

📄 [A Short Guide to GitHub's Keyboard Shortcuts](https://github.blog/2024-04-19-a-short-guide-to-mastering-keyboard-shortcuts-on-github/) – Sara Verdi    

🛠 Code & Tools 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/y3tbtijoho7hylt487lr.jpg)](https://github.com/pnpm/pnpm/releases/tag/v9.0.0)  

[pnpm 9.0: The Efficiency-Focused Package Manager](https://github.com/pnpm/pnpm/releases/tag/v9.0.0) — [pnpm](https://pnpm.io/) has long been a fantastic option for folks looking to save disk space and CPU cycles (or for its great [monorepo support](https://pnpm.io/workspaces)) while maintaining most of what makes npm great. v9.0 drops Node 16 and 17 compatibility, honors the `packageManager` field in `package.json`, makes some default config changes, and adopts Lockfile v9. 

pnpm   

[Hexo 7.2: Node.js-Powered SSG-Style Blog Framework](https://hexo.io/) — If you want to create a blog, write GitHub-Flavored Markdown, and have Node put it all together as a static site, this is for you (it’s a bit like [Jekyll](https://jekyllrb.com/) but using Node). The [7.2 release](https://hexo.io/news/2024/04/17/hexo-7-2-0-released/) isn’t a big one feature-wise, but we haven’t covered Hexo for years :-) 

Tommy Chen       

📰 Classifieds   

🪝 [Hookdeck](https://hookdeck.com?ref=nodeweekly-529): a serverless queue for your event-driven applications. [Learn more](https://hookdeck.com?ref=nodeweekly-529). 

--- 

Get a `.app`, `.dev`, or `.foo` domain name for $5 for the first year at [Porkbun](https://sponsr.is/tld_reactstatus). Perfect for developers and all tech professionals.      

[node-pg-migrate 7.0: Database Migration Management for Postgres](https://github.com/salsita/node-pg-migrate/releases/tag/v7.0.0) — Lots of cleanups and refactoring from the project’s new maintainer, Shinigami, also a core maintainer of FakerJS and Vite. 

Salsita Software   

- [PGlite 0.1.5](https://github.com/electric-sql/pglite) – Lightweight Postgres packaged as WASM into a TypeScript library for the browser, Node.js, Bun and Deno.
- [fastest-validator 1.18](https://github.com/icebob/fastest-validator) – Claims to be the ‘fastest JS validator library’ for Node.
- [Mercurius 14.1](https://github.com/mercurius-js/mercurius) – Implement GraphQL servers and gateways on Fastify.
- [FoalTS 4.3](https://foalts.org/) – Full-featured Node.js HTTP API framework.
- [zx 8.0.2](https://github.com/google/zx) – Google's tool for better Node shell scripting.
- [thread-stream 2.6](https://github.com/pinojs/thread-stream) – A streaming way to send data to a worker thread.
- [Slonik 41.0](https://github.com/gajus/slonik/releases/tag/v41.0.0) – Postgres client with type safety.
- [Soap 1.0.1](https://github.com/vpulim/node-soap) – A SOAP client and server library.
- [Node-SSH 13.2](https://github.com/steelbrain/node-ssh) – Wrapper around [ssh2](https://github.com/mscdex/ssh2).    

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