
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-2c6dBundle the HTML, screenshot, summaries, and metadata into one ZIP file. Pro saves automatically start preparing the external RFC 3161 timestamp, and only unfinished records need one more preparation step before download.
I Built a CLI That Shows the Real Cost of Your node_modules (Size + Security + Age) - DEV Community
Open the dedicated viewer to inspect the saved page with archive metadata pinned above it.
This is a self-contained HTML copy with CSS and images embedded, so it still renders even if the original page disappears.
The dedicated viewer keeps the original URL and saved timestamp visible while you review the archived HTML.
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.
