Skip to content
PluginStats

rollup-plugin-stats weekly downloads statistics

By relative-ci (5 listings) · npm · Vite plugins

Vite/Rolldown/Rollup plugin to generate bundle stats JSON file

View on npm Fresh · Oct 18, 2026

rollup-plugin-stats has 109,422 recorded weekly downloads on npm, a decrease of 56.8% over the past 30 days, ranking #463 of 2,322 tracked listings.

Weekly downloads
109,422
Official API · Oct 18, 2026
7-day growth
-57.5%
-147.7K weekly downloads
30-day growth
-56.8%
-143.8K weekly downloads
90-day growth
-57.6%
-148.3K weekly downloads
Rank
#463
Among tracked npm listings

About rollup-plugin-stats

rollup-plugin-stats

npm Socket Badge ci

Vite compatibility Rolldown compatibility Rollup compatibility

Vite/Rolldown/Rollup plugin to generate bundle stats JSON file

Install

npm install --dev rollup-plugin-stats

or

pnpm add --save-dev rollup-plugin-stats

or

yarn add --dev rollup-plugin-stats

Configure

Vite
// vite.config.mjs
import { defineConfig } from 'vite';
import pluginStats from 'rollup-plugin-stats';

export default defineConfig({
  // your vite config
  plugins: [
    // add it as the last plugin
    pluginStats(),
  ],
});
Rollup
// rollup.config.mjs
import { defineConfig } from 'rollup';
import pluginStats from 'rollup-plugin-stats';

export default defineConfig({
  // your rollup config
  plugins: [
    // add it as the last plugin
    pluginStats(),
  ],
});
// rollup.config.js
const { defineConfig } = require('rollup');
const pluginStats = require('rollup-plugin-stats');

module.exports = defineConfig({
  // your rollup config
  plugins: [
    // add it as the last plugin
    pluginStats(),
  ],
});
Rolldown
// rolldown.config.js
import { defineConfig } from 'rolldown';
import pluginStats from 'rollup-plugin-stats';

export default defineConfig({
  // your rolldown config
  plugins: [
    // add it as the last plugin
    pluginStats(),
  ],
});
Options
  • fileName - the JSON filepath relative to the build folder or absolute(default: stats.json)
  • write - format and write the stats to disk(default: fs.write(filename, JSON.stringify(stats, null, 2)))
  • stats
    • source - output asset/chunk/module source (default false)
    • map - output chunk map property (default: false)
    • excludeAssets - exclude matching assets: string | RegExp | ((filepath: string) => boolean) | Array<string | RegExp | ((filepath: string) => boolean)>
    • excludeModules - exclude matching modules: string | RegExp | ((filepath: string) => boolean) | Array<string | RegExp | ((filepath: string) => boolean)>

Development setup

Use the project node version
nvm use
Install dependencies
npm install
Prepare
npm run prepare

Related projects

bundle-stats

Analyze bundle stats(bundle size, assets, modules, packages) and compare the results between different builds. Support for webpack, rspack, vite, rolldown and rollup.

rollup-plugin-webpack-stats

Generate vite/rollup/rolldown stats JSON file with a bundle-stats webpack supported structure.

:cyclone: relative-ci.com
Automated bundle analysis, reviews and monitoring - Quickly identify and fix bundle regressions before shipping to production.

:rocket: Get started

Description from the npm listing.

  • vite
  • rolldown
  • rollup
  • vite-plugin
  • rolldown-plugin
  • rollup-plugin
  • bundle-stats

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

rollup-plugin-stats weekly downloads on npm, last 90 days: 109,422 weekly downloads as of Oct 18, 2026, -57.6% over 90 days.rollup-plugin-statsWeekly downloads on npm · Last 90 days109,422downloads / week-57.6% over 90 days050K100K150K200K250K300K350KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
rollup-plugin-stats weekly downloads on npm, last 90 days: 109,422 weekly downloads as of Oct 18, 2026, -57.6% over 90 days.

7/30/90-day growth

rollup-plugin-stats weekly downloads growth on npm: -57.5% over 7 days, -56.8% over 30 days, -57.6% over 90 days.rollup-plugin-statsWeekly downloads growth on npm109,422downloads / week now7-day growth-147,748 weekly downloads-57.5%30-day growth-143,810 weekly downloads-56.8%90-day growth-148,347 weekly downloads-57.6%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
rollup-plugin-stats weekly downloads growth on npm: -57.5% over 7 days, -56.8% over 30 days, -57.6% over 90 days.

Ranking history

rollup-plugin-stats npm ranking history: currently #463 (by weekly downloads).rollup-plugin-statsnpm ranking · by weekly downloads · Last 90 days#463current rank#445#450#455#460#465Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
rollup-plugin-stats npm ranking history: currently #463 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,161 shown · page 24, #3 (overall #463)
All npm: every listing in weekly downloads order

Listing placement

Vite plugins253 listings · 13 pages · page 4, #4 (overall #64)
Vite plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (122)
Recent weekly downloads observations for rollup-plugin-stats
Date (UTC)Weekly downloadsChange vs. previous
109,422+8.2K
101,188-8K
109,190+2.2K
107,039-70.6K
177,622-67.3K
244,9310
244,931-12.2K
257,170+160
257,010+2.2K
254,838+14.4K
240,461+21.2K
219,238+15.8K
203,396-59.7K
263,080—

Similar npm Vite plugins plugins

All 20 rollup-plugin-stats alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/rollup-plugin-stats. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.