# pastelsky/bundlephobia

🏋️ Find out the cost of adding a new frontend dependency to your project

Repository: https://github.com/pastelsky/bundlephobia
Canonical: https://ross.abutalabs.com/products/bundlephobia
Homepage: https://bundlephobia.com
Language: TypeScript
License: MIT
License Family: permissive
Topics: npm-package, cost, performance, dependencies, webpack
Last push: 2026-08-20T17:50:57+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 8, longevity 100
- inputs: {"age_days": 3446, "days_push": 13, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9581, forks 272 (observed 2026-08-28T04:10:35.902411+00:00)

## What it is
Bundlephobia is a web service and API that reports the bundle size and performance cost of npm packages, including historical trends and package composition. It helps developers evaluate the weight of a dependency before adding it to a frontend project.

## Use cases
- check the bundle size of an npm package before installing it
- compare the cost of alternative frontend dependencies
- scan a package.json to see total bundle impact
- view historical size trends of a package across versions
- get package size badges for a README
- find lightweight alternatives to heavy npm packages

## When to choose
- you want to know the minified/gzip size of an npm package quickly
- you are auditing dependencies for performance budgets
- you need an API or badges for package size data

## When to avoid
- you need full bundle analysis of your own application build (use webpack-bundle-analyzer)
- you need server-side or non-JavaScript package metrics

## Facets
- artifact type: service
- maturity: active
- function: analytics, developer-tools, search-engine
- domain: web-development, frontend, developer-tools, performance
- platform: cli
- tags: bundle-size, npm-packages, javascript, webpack, package-analysis, performance-budget, web-server, nodejs

## Member repositories
- pastelsky/bundlephobia (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:35.902411+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:21:55.401398+00:00, confidence not recorded.
  - readme: https://github.com/pastelsky/bundlephobia (fetched 2026-08-28T04:10:35.902411+00:00, sha 4b7e0ffc93ec)
  - homepage: https://bundlephobia.com (fetched 2026-08-29T08:21:47.412285+00:00, sha 5e2ff60702e7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
