Statoscope

Open source

Toolkit for analysing and validating webpack bundle stats, with an interactive HTML report, a webpack plugin and a CLI for CI checks.

GitHub stars
1.6k
Last 30 days
+0
Last commit
7 mo ago
Repository age
9 years
Version
v5.29.0
Licence
MIT
Self-hosted
Yes

About Statoscope

Statoscope is a toolkit for looking inside a webpack bundle. It reads the stats webpack produces and turns them into a UI-based report, and it can also validate those stats against rules. The project is MIT licensed and written in TypeScript.

The repository is split into packages. The webpack plugin generates the report about your bundle, and the CLI package runs validation on stats files, which suits continuous integration. The report shows the full dependency tree across modules, chunks, assets, entrypoints and packages, along with size maps for entrypoints, chunks and packages.

Beyond browsing, it detects package copies and duplicated modules, compares two sets of stats, and lets you build custom reports with the jora query language. The README says there is no limit on stats size, and that the HTML report is compressed, by up to 200 times. A sandbox on the project site lets you try it without installing anything.

Funding comes through Open Collective and GitHub Sponsors, as listed in the README.

Key features

  • Dependency tree for modules, chunks, assets, entrypoints and packages
  • Size map for entrypoints, chunks and packages
  • Detects package copies and duplicated modules
  • Validates stats with rules, including from the CLI
  • Compares two sets of stats
  • Custom reports written with the jora query language
  • Compressed HTML report output
  • Webpack plugin that generates the UI report

Good fit for

  • Finding duplicated packages in a bundle
  • Checking bundle stats in CI
  • Comparing bundles between builds
Tags
webpack
bundle-analyzer
javascript
typescript
cli
ci
dependency-graph

Statoscope: questions and answers

What is Statoscope used for?
Statoscope is a toolkit for analysing and validating webpack bundle stats, with an interactive HTML report, a webpack plugin and a CLI for CI checks. It is a good fit for finding duplicated packages in a bundle, checking bundle stats in CI and comparing bundles between builds.
Is Statoscope open source?
Yes. Statoscope is open source under the MIT licence. Its source code is on GitHub at statoscope/statoscope and is written mainly in TypeScript.
Is Statoscope free?
Yes. Statoscope is open source, so the software itself is free to use.
What are some alternatives to Statoscope?
Similar open-source tools in the Developer Tools category include PhpMetrics, SwiftInfo and Webpack Monitor. SaaS products in the same category include WebStorm, Hyper and 3 Pixel Grid.
Is Statoscope actively maintained?
The most recent commit to Statoscope was on 14 April 2026, and the latest release is v5.29.0, published on 5 April 2025. The project has 1.6k stars on GitHub.

Open-source alternatives to Statoscope

See all

SaaS alternatives to Statoscope

See all