treeshake-cli

JSON →
library 0.2.6 ·javascript
verified Jun 4, 2026

treeshake-cli is a command-line tool that analyzes JavaScript bundles to determine how effectively Rollup, Webpack, and ESBuild tree-shake unused code. Version 0.2.6 is stable with monthly releases. It provides a unified interface to run multiple bundlers on the same input and compare outputs, highlighting dead code elimination differences. Unlike manual bundler configuration, it offers an out-of-the-box comparison with clear metrics.