# Install bundle-stats with npm

In-depth bundle analyzer for webpack(bundle size, assets, modules, packages). Version 4.22.2 via npm; verified 2026-05-28.

## Install

```sh
sudo av install npm:bundle-stats
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g bundle-stats
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:bundle-stats
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/bundle-stats>
- **Version:** 4.22.2
- **Source summary:** In-depth bundle analyzer for webpack(bundle size, assets, modules, packages)
- **Homepage:** <https://github.com/relative-ci/bundle-stats/blob/master/packages/cli#readme>
- **Repository:** <https://github.com/relative-ci/bundle-stats>
- **Upstream docs:** <https://github.com/relative-ci/bundle-stats/blob/master/packages/cli#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/bundle-stats/-/bundle-stats-4.22.2.tgz>
- **Issue tracker:** <https://github.com/relative-ci/bundle-stats/issues>
- **Published:** 2026-05-28T18:53:39.934Z
- **Last updated:** 2026-05-28T18:53:39.934Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- bundle-stats (cli)
- bundle-stats (alias)

## Dependencies

- @bundle-stats/cli-utils
- @bundle-stats/plugin-webpack-filter
- @bundle-stats/plugin-webpack-validate
- @bundle-stats/utils
- boxen
- core-js
- fs-extra
- listr2
- lodash
- yargs

## Build dependencies

- @playwright/test
- @types/fs-extra
- @types/listr
- @types/update-notifier
- @types/yargs
- http-server
- jest
- rimraf
- tsdown
- typescript
- update-notifier

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 4.22.2
- Package-manager updated: 2026-05-28
- Local data: ok
- Upstream repository: https://github.com/relative-ci/bundle-stats
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for bundle-stats. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Alpha: 4.21.10-alpha.0, Beta: 4.22.2-beta.1, Latest: 4.22.2, Next: 2.0.0-rc.3, Rc: 4.13.0-rc.2
- **Version Count:** 531
- **Maintainers:** vio, bundle-stats-bot, relativeci-bot
- **Author:** Viorel Cojocaru
- **Publisher:** GitHub Actions
- **Engines:** Node: >= 14.0
- **Integrity:** sha512-lijk/2w98EpS+tT4tRHso5OfeJZEhWw0jurAZtAmpErhfQS1grBdDhuMiFzabnWSiKe6rEffdDQ57FAu71xIIw==
- **Shasum:** bef3097aa3503df528eacbff79d1410d512c0f64
- **Unpacked Size:** 744,931
- **File Count:** 0
- **Created At:** 2019-05-24T00:25:36.384Z
- **Latest Published At:** 2026-05-28T18:53:39.934Z
- **Modified At:** 2026-05-28T18:53:40.206Z


## Related links

- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [bundle-collapser](https://www.automicvault.com/pkg/npm/bundle-collapser/) - Package names and metadata indicate a similar tool family. Shared terms: bundle, bundling, cli, developer, developer-tools.
- [bunchee](https://www.automicvault.com/pkg/npm/bunchee/) - Local package facts share a topical domain. Shared terms: bundle, bundling, cli, core, developer.
- [browser-pack-flat](https://www.automicvault.com/pkg/npm/browser-pack-flat/) - Local package facts share a topical domain. Shared terms: analyzer, bundle, bundling, cli, developer.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
