Bundlephobia Scraper - npm Bundle Size & Dependencies
Pricing
from $0.75 / 1,000 results
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
Maintained by CommunityActor 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
| Field | Type | Description |
|---|---|---|
mode | select | Scraping mode. Currently packages (resolve by name). |
packages | array | npm package names. Optionally name@version. Prefilled with react, lodash, axios. |
maxItems | integer | Max 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"}
๐ Related actors
โ๏ธ 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.