{"library":"bundle-stats","type":"library","category":null,"description":"bundle-stats is an in-depth bundle analyzer for webpack, Rspack, Vite, Rollup, and Rolldown that provides detailed reports on bundle size, assets, modules, and packages. It supports comparing multiple builds side-by-side to identify changes, duplicate packages, and new dependencies. Current stable version is 4.22.1, released in April 2025, with active maintenance and frequent updates. Key differentiators include its cross-bundler support via rollup-plugin-webpack-stats, insights like cache invalidation and initial JS/CSS metrics, and a CLI for CI integration. Ships TypeScript types. Requires Node >= 14.","language":"javascript","status":"active","version":"4.22.1","tags":["javascript","webpack","bundle-size","bundle-analyzer","bundle-stats","stats","bundle","size","assets","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install bundle-stats","imports":["import { BundleStatsWebpackPlugin } from 'bundle-stats/webpack'","import bundleStats from 'bundle-stats'","import { rollupPluginBundleStats } from 'bundle-stats/rollup'"]},{"cmd":"yarn add bundle-stats","imports":[]},{"cmd":"pnpm add bundle-stats","imports":[]}],"homepage":"https://www.bundlestats.com","github":"https://github.com/relative-ci/bundle-stats","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/bundle-stats","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/bundle-stats/compatibility"}}