Bundlephobia Scraper - npm Bundle Size & Dependencies avatar

Bundlephobia Scraper - npm Bundle Size & Dependencies

Pricing

from $0.75 / 1,000 results

Go to Apify Store
Bundlephobia Scraper - npm Bundle Size & Dependencies

Bundlephobia Scraper - npm Bundle Size & Dependencies

$0.5/1K ๐Ÿ”ฅ Bundlephobia scraper! npm package bundle size, gzip & dependency count. No key. JSON, CSV, Excel or API in seconds. Audit JS bundle size & perf budgets โšก

Pricing

from $0.75 / 1,000 results

Rating

0.0

(0)

Developer

ninhothedev

ninhothedev

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

Bundlephobia Scraper ๐Ÿ“ฆ

Know the real cost of every npm dependency โ€” before you ship it.

Bundlephobia Scraper resolves any npm package into its minified size, gzip size, dependency count and a dependency-size breakdown, straight from Bundlephobia. No API key, no login, no browser automation โ€” just clean structured JSON you can drop into a CI pipeline, a spreadsheet, or a performance budget.

Feed it a list of package names (optionally pinned to a version like react@18.2.0) and get one tidy dataset row per package.


๐Ÿ’ก Why use this actor?

  • No API key required โ€” public data, zero auth friction.
  • Minified + gzip sizes in both bytes and KB, ready to chart.
  • Dependency count + top-10 dependency sizes to spot bloat.
  • Version-aware โ€” pin an exact version or take the latest.
  • Fast & cheap โ€” concurrent batches, ~$0.50 per 1,000 packages.
  • CI-friendly output โ€” flat, permissive JSON that maps to any tool.

๐Ÿš€ Use cases

  • JavaScript bundle analysis โ€” compare libraries before adding them.
  • Dependency audits โ€” flag heavyweight transitive dependencies.
  • Performance budgets โ€” enforce size limits in CI/CD.
  • Developer tooling โ€” power dashboards, linters and PR bots.

๐Ÿ›  Input

FieldTypeDescription
modeselectScraping mode. Currently packages (resolve by name).
packagesarraynpm package names. Optionally name@version. Prefilled with react, lodash, axios.
maxItemsintegerMax packages per run (default 100, max 1000).

Example input

{
"mode": "packages",
"packages": ["react", "lodash", "axios@1.7.2", "next"],
"maxItems": 100
}

๐Ÿ“ค Output

One dataset item per package:

{
"name": "react",
"version": "19.2.8",
"min_size_bytes": 7595,
"min_size_kb": 7.42,
"gzip_bytes": 2910,
"gzip_kb": 2.84,
"dependency_count": 0,
"has_side_effects": true,
"repository": "https://github.com/react/react.git",
"description": "React is a JavaScript library for building user interfaces.",
"top_dependencies": [{ "name": "react", "approximateSize": 7813 }],
"url": "https://bundlephobia.com/package/react",
"source": "bundlephobia",
"scraped_at": "2026-07-25T00:00:00+00:00"
}


โš–๏ธ Notes

This actor uses Bundlephobia's public, unauthenticated size API. Cold packages are built on demand and may take a few seconds; the actor retries automatically. Only publicly available package metadata is collected.