
I Built a CLI That Shows the Real Cost of Your node_modules (Size + Security + Age) - DEV Community
https://dev.to/profiterole/i-built-a-cli-that-shows-the-real-cost-of-your-nodemodules-size-security-age-2c6dThe evidence pack includes HTML, screenshots, summaries, and metadata. It can be downloaded on Pro.
I Built a CLI That Shows the Real Cost of Your node_modules (Size + Security + Age) - DEV Community
Open the archived HTML with saved-time metadata attached.
This HTML has CSS and images embedded, so it can still be opened even if the original page disappears.
This page describes a CLI tool called node-weight that reveals the real cost of packages in node_modules. Following the CanisterWorm malware outbreak in March 2026, the author recognized that developers lack visibility into their dependencies. The tool displays three critical pieces of information: package size, security vulnerabilities, and last update date. Abandoned packages with high download counts pose significant supply chain attack risks. Node-weight requires zero installation and can be run with a single command, producing a table showing all installed packages with their metrics, including size in KB, security status, and days since last update.
