{"id":13447021,"url":"https://github.com/relative-ci/bundle-stats","last_synced_at":"2025-05-13T23:03:54.853Z","repository":{"id":37791888,"uuid":"121169275","full_name":"relative-ci/bundle-stats","owner":"relative-ci","description":"Analyze bundle stats(bundle size, assets, modules, packages) and compare the results between different builds. Support for webpack, rspack, vite, rolldown and rollup.","archived":false,"fork":false,"pushed_at":"2025-05-08T02:35:11.000Z","size":271882,"stargazers_count":619,"open_issues_count":50,"forks_count":19,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-08T03:29:53.895Z","etag":null,"topics":["bundle-analyzer","bundle-size","bundle-stats","bundlesize","gatsby-plugin","nextjs-plugin","rollup","rollup-plugin","vite-plugin","webpack","webpack-analyzer","webpack-plugin"],"latest_commit_sha":null,"homepage":"https://relative-ci.com/documentation/metrics-and-data","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/relative-ci.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-02-11T21:33:04.000Z","updated_at":"2025-05-08T02:33:31.000Z","dependencies_parsed_at":"2023-10-17T08:22:24.318Z","dependency_job_id":"fe75295d-9836-46a5-a8da-c67e78079272","html_url":"https://github.com/relative-ci/bundle-stats","commit_stats":{"total_commits":3923,"total_committers":17,"mean_commits":"230.76470588235293","dds":0.3928116237573286,"last_synced_commit":"1a5d0f028607687dc3451945ba25c2f59dd35549"},"previous_names":["bundle-stats/bundle-stats"],"tags_count":641,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relative-ci%2Fbundle-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relative-ci%2Fbundle-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relative-ci%2Fbundle-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relative-ci%2Fbundle-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/relative-ci","download_url":"https://codeload.github.com/relative-ci/bundle-stats/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252996076,"owners_count":21837615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bundle-analyzer","bundle-size","bundle-stats","bundlesize","gatsby-plugin","nextjs-plugin","rollup","rollup-plugin","vite-plugin","webpack","webpack-analyzer","webpack-plugin"],"created_at":"2024-07-31T05:01:06.101Z","updated_at":"2025-05-13T23:03:54.833Z","avatar_url":"https://github.com/relative-ci.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://relative-ci.com/bundle-analyzer/bundle-stats/demo/bundle-analysis-comparison\" target=\"_blank\"\u003e\u003cimg alt=\"BundleStats screenshot\" src=\"https://raw.githubusercontent.com/relative-ci/bundle-stats/master/bundle-stats.gif\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  Demos:\n  \u003ca href=\"https://relative-ci.com/bundle-analyzer/bundle-stats/demo/bundle-analysis-comparison\" target=\"_blank\"\u003eBundle analysis comparison\u003c/a\u003e ·\n  \u003ca href=\"https://relative-ci.com/bundle-analyzer/bundle-stats/demo/bundle-analysis\" target=\"_blank\"\u003eBundle analysis\u003c/a\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003eBundleStats\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n  Analyze bundle stats(bundle size, assets, modules, packages) and compare the results between different builds. Support for webpack, rspack, vite, rollup and rolldown.\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/bundle-stats\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/bundle-stats.svg\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/bundle-stats\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/bundle-stats.svg\" /\u003e\u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/node/v/bundle-stats.svg\" alt=\"Node version\" /\u003e\n  \u003ca href=\"https://github.com/relative-ci/bundle-stats/actions/workflows/ci.yml\"\u003e\u003cimg alt=\"GitHub action\" src=\"https://github.com/relative-ci/bundle-stats/actions/workflows/ci.yml/badge.svg\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://socket.dev/npm/package/bundle-stats/overview\"\u003e\u003cimg alt=\"Socket\" src=\"https://socket.dev/api/badge/npm/package/bundle-stats\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/relative-ci/bundle-stats/actions/workflows/codeql.yml\"\u003e\u003cimg alt=\"CodeQL\" src=\"https://github.com/relative-ci/bundle-stats/actions/workflows/codeql.yml/badge.svg\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://app.relative-ci.com/projects/V1bXuieJbYttHCS75L8G\"\u003e\u003cimg src=\"https://badges.relative-ci.com/badges/V1bXuieJbYttHCS75L8G?branch=master\" alt=\"RelativeCI\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n- \u003ca href=\"https://relative-ci.com/bundle-analyzer/bundle-stats/demo/bundle-analysis-comparison#/\"\u003e\u003cstrong\u003eBundle size\u003c/strong\u003e and \u003cstrong\u003etotals by file\u003c/strong\u003e type(css, js, img, etc)\u003c/a\u003e\u003cbr /\u003e\n- \u003ca href=\"https://relative-ci.com/bundle-analyzer/bundle-stats/demo/bundle-analysis-comparison#/\"\u003eInsights: \u003cstrong\u003eduplicate packages\u003c/strong\u003e, \u003cstrong\u003enew packages\u003c/strong\u003e\u003c/a\u003e\u003cbr /\u003e\n- \u003ca href=\"https://relative-ci.com/bundle-analyzer/bundle-stats/demo/bundle-analysis-comparison#/\"\u003e\u003cstrong\u003eInitial JS/CSS\u003c/strong\u003e, \u003cstrong\u003eCache invalidation\u003c/strong\u003e, and other bundle metrics\u003c/a\u003e\u003cbr /\u003e\n- \u003ca href=\"https://relative-ci.com/bundle-analyzer/bundle-stats/demo/bundle-analysis-comparison#/assets\"\u003e\u003cstrong\u003eAssets\u003c/strong\u003e report (entrypoint, initial, types, changed, delta)\u003c/a\u003e\u003cbr /\u003e\n- \u003ca href=\"https://relative-ci.com/bundle-analyzer/bundle-stats/demo/bundle-analysis-comparison#/modules\"\u003e\u003cstrong\u003eModules\u003c/strong\u003e report (changed, delta, chunks, duplicate count and percentage)\u003c/a\u003e\u003cbr /\u003e\n- \u003ca href=\"https://relative-ci.com/bundle-analyzer/bundle-stats/demo/bundle-analysis-comparison#/packages\"\u003e\u003cstrong\u003ePackages\u003c/strong\u003e report (count, duplicate, changed, delta)\u003c/a\u003e\u003cbr /\u003e\n:star: \u003cstrong\u003eSide by side comparison\u003c/strong\u003e for multiple builds\n\u003c/p\u003e\n\n## Related projects\n\n### :cyclone: [relative-ci.com](https://relative-ci.com?utm_medium=bundle-stats)\n\n#### Optimize your web app's performance with automated bundle stats analysis and monitoring.\n\n- :crystal_ball: In-depth bundle stats analysis for every build\n- :chart_with_upwards_trend: Monitor bundle stats changes and identify opportunities for optimizations\n- :bell: [Rule based automated review flow](https://relative-ci.com/documentation/setup/configure/integrations/github-commit-status-review?utm_medium=bundle-stats), or get notified via [GitHub Pull Request comments](https://relative-ci.com/documentation/setup/configure/integrations/github-pull-request-comment?utm_medium=bundle-stats), [GitHub check reports](https://relative-ci.com/documentation/setup/configure/integrations/github-check-report?utm_medium=bundle-stats) and [Slack messages](https://relative-ci.com/documentation/setup/configure/integrations/slack-notification?utm_medium=bundle-stats)\n- :wrench: Support for **webpack** and beta support for **Vite**/**Rollup**\n- :hammer: Support for all major CI services(CircleCI, GitHub Actions, Gitlab CI, Jenkins, Travis CI)\n- :nut_and_bolt: Support for **npm**, **yarn** and **pnpm**; support for monorepos\n- :two_hearts: **Always free** for **Open Source**\n\n[:rocket: Get started](https://relative-ci.com?utm_medium=bundle-stats)\n\n### :first_quarter_moon: [relative-ci/compare](https://compare.relative-ci.com)\n\nStandalone web application to compare Webpack/Lighthouse/Browsertime stats.\n\n[Compare bundle stats](https://compare.relative-ci.com)\n\n### :zap: [bundle-stats-action](https://github.com/vio/bundle-stats-action)\n\nGithub Action that generates [bundle-stats](https://github.com/relative-ci/bundle-stats) reports.\n\n## Packages\n\n### [`bundle-stats`](https://github.com/relative-ci/bundle-stats/tree/master/packages/cli)\n\n[![npm](https://img.shields.io/npm/v/bundle-stats)](https://www.npmjs.com/package/bundle-stats) [![npm](https://img.shields.io/npm/dm/bundle-stats)](https://www.npmjs.com/package/bundle-stats)\n\nCLI to generate bundle stats report.\n\n### [`bundle-stats-webpack-plugin`](https://github.com/relative-ci/bundle-stats/tree/master/packages/webpack-plugin)\n\n[![npm](https://img.shields.io/npm/v/bundle-stats-webpack-plugin)](https://www.npmjs.com/package/bundle-stats-webpack-plugin) [![npm](https://img.shields.io/npm/dm/bundle-stats-webpack-plugin)](https://www.npmjs.com/package/bundle-stats-webpack-plugin)\n\nWebpack plugin to generate bundle stats report for webpack/rspack.\n\n### [`gatsby-plugin-bundle-stats`](https://github.com/relative-ci/bundle-stats/tree/master/packages/gatsby-plugin)\n\n[![npm](https://img.shields.io/npm/v/gatsby-plugin-bundle-stats)](https://www.npmjs.com/package/gatsby-plugin-bundle-stats) [![npm](https://img.shields.io/npm/dm/gatsby-plugin-bundle-stats)](https://www.npmjs.com/package/gatsby-plugin-bundle-stats)\n\n[Gatsby](https://www.gatsbyjs.org) plugin for [bundle-stats](https://github.com/relative-ci/bundle-stats/tree/master/packages/webpack-plugin).\n\n### [`next-plugin-bundle-stats`](https://github.com/relative-ci/bundle-stats/tree/master/packages/next-plugin)\n\n[![npm](https://img.shields.io/npm/v/next-plugin-bundle-stats)](https://www.npmjs.com/package/next-plugin-bundle-stats) [![npm](https://img.shields.io/npm/dm/next-plugin-bundle-stats)](https://www.npmjs.com/package/next-plugin-bundle-stats)\n\n[Next.js](https://nextjs.org) plugin for [bundle-stats](https://github.com/relative-ci/bundle-stats/tree/master/packages/webpack-plugin).\n\n### [`rollup-plugin-bundle-stats`](https://github.com/relative-ci/bundle-stats/tree/master/packages/rollup-plugin)\n\n[![npm](https://img.shields.io/npm/v/rollup-plugin-bundle-stats)](https://www.npmjs.com/package/rollup-plugin-bundle-stats) [![npm](https://img.shields.io/npm/dm/rollup-plugin-bundle-stats)](https://www.npmjs.com/package/rollup-plugin-bundle-stats)\n\nRollup plugin to generate bundle stats report for vite/rolldown/rollup.\n","funding_links":[],"categories":["JavaScript","TypeScript","Bundle Analyzer"],"sub_categories":["Meetups"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frelative-ci%2Fbundle-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frelative-ci%2Fbundle-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frelative-ci%2Fbundle-stats/lists"}