Save ~48MB RAM Per Execution Using `node --run` Over `npm run` in Node 22+

DanielLockyer · x · 2026-08-04

A developer points out that in Node.js 22+, if slight functional differences are acceptable, running node --run <script> instead of npm run <script> can save approximately 48MB of RAM per execution.

Original post →

More from Infra

Infra channel →