npm Package Trends — Downloads, Deps & Vulnerabilities
Under maintenancePricing
from $1.00 / 1,000 item processeds
npm Package Trends — Downloads, Deps & Vulnerabilities
Under maintenanceAnalyze npm packages: weekly downloads, release history, dependencies, devDependencies, bundle size, TypeScript support, and vulnerability scan via OSV.dev. Track package popularity trends. Supports bulk analysis. No API key required.
Pricing
from $1.00 / 1,000 item processeds
Rating
0.0
(0)
Developer
Hojun Lee
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
a day ago
Last modified
Categories
Share
What does npm Package Trends do?
npm package trends tracks download velocity, version history, and ecosystem health for any npm package — without an API key. Provide a list of package names and get back weekly downloads, monthly downloads, a download trend percentage comparing the past two weeks against the prior two weeks, bundle size via Bundlephobia, dependency counts, and 30-day daily download history. Use this npm weekly downloads tracker to compare multiple JavaScript library popularity metrics side-by-side in a single run.
All data is sourced from the official npm Registry, npm Downloads API, and Bundlephobia. No authentication, no rate-limit signup, no proxy cost.
Why use npm Package Trends?
- Library selection — before adopting a new dependency, compare npm package trends and growth momentum across candidate packages to pick the one with the strongest community traction.
- Ecosystem monitoring — schedule weekly runs to watch JavaScript library popularity for every package in your production stack; catch declining downloads before they signal an abandoned project.
- Bundle size optimization — surface the gzip size of every direct dependency via Bundlephobia and identify the heaviest contributors to your JavaScript bundle.
- Dependency supply chain auditing — get dependency and devDependency counts for each package to quantify your transitive exposure and flag over-engineered libraries.
- Open-source health dashboards — build automated engineering reports on npm weekly downloads tracker data for your team, investors, or open-source portfolio.
How to use npm Package Trends
- Open the actor on Apify and click Try for free.
- In the Input tab, add your package names to the
packagesarray (e.g.["react", "vue", "svelte"]). - Toggle optional enrichments:
includeDownloadHistory,includeDependencies, andincludeBundleSize. - Click Start and wait — typically 2–10 seconds per package.
- Download results as JSON or CSV, or connect via the Apify API for automated CI/CD pipelines.
Input
| Field | Type | Default | Required | Description |
|---|---|---|---|---|
packages | string[] | — | Yes | npm package names to analyze (e.g. react, @types/node, lodash) |
includeDownloadHistory | boolean | true | No | Include daily download counts for the last 30 days |
includeDependencies | boolean | true | No | Include dependencies and devDependencies counts |
includeBundleSize | boolean | false | No | Fetch gzip bundle size from Bundlephobia (adds latency) |
Scoped packages such as @babel/core and @types/react are fully supported.
Output
One item per package is saved to the Apify dataset:
[{"name": "react","version": "18.3.1","description": "React is a JavaScript library for building user interfaces.","license": "MIT","homepage": "https://reactjs.org/","repository_url": "https://github.com/facebook/react","keywords": ["react"],"maintainers_count": 4,"weekly_downloads": 24000000,"monthly_downloads": 95000000,"downloads_trend": 3.5,"download_history": [{ "date": "2026-08-01", "downloads": 3200000 },{ "date": "2026-08-02", "downloads": 3150000 }],"last_publish": "2024-04-26T15:00:00.000Z","bundle_size_gzip": null,"dependencies_count": 3,"dev_dependencies_count": 0,"fetched_at": "2026-09-02T12:00:00.000Z"}]
Data fields
| Field | Type | Description |
|---|---|---|
name | string | Package name on npm |
version | string | Latest published version |
description | string | Package description from the registry |
license | string | SPDX license identifier |
homepage | string | Project homepage URL |
repository_url | string | Source repository URL |
keywords | string[] | Registry keywords |
maintainers_count | integer | Number of registered maintainers |
weekly_downloads | integer | Downloads in the last 7 days |
monthly_downloads | integer | Downloads in the last 30 days |
downloads_trend | float | % change: last 2 weeks vs prior 2 weeks |
download_history | object[] | Daily download counts for the last 30 days |
last_publish | ISO8601 | Date of the most recent version release |
bundle_size_gzip | integer | null | Gzip bundle size in bytes (requires includeBundleSize) |
dependencies_count | integer | Number of direct dependencies |
dev_dependencies_count | integer | Number of devDependencies |
fetched_at | ISO8601 | Timestamp of data retrieval |
downloads_trend is the percentage change in daily average downloads comparing the last 2 weeks against the prior 2 weeks. A value of 3.5 means +3.5% growth; -8.2 means the package is losing traction.
Cost estimation
Pricing is Pay-Per-Event (PPE) — you pay only for what you use.
| Packages analyzed | Cost |
|---|---|
| 1 | $0.005 |
| 10 | $0.05 |
| 100 | $0.50 |
| 1,000 | $5.00 |
Bundle size lookups via Bundlephobia add latency but no extra charge.
FAQ
Do I need an API key? No. All data sources — npm Registry, npm Downloads API, and Bundlephobia — are publicly accessible without authentication.
How current is the download data? npm's downloads API reflects data with approximately a 48-hour lag. Weekly and monthly figures match what you see on npmjs.com.
Can I track scoped packages like @babel/core?
Yes. Scoped packages in @scope/name format are fully supported.
Disclaimer: This actor fetches publicly available data from npm and Bundlephobia. Download counts and trend figures are for informational purposes only and should not be used as the sole basis for production dependency decisions. Data availability depends on upstream API uptime.
Related actors
- GitHub Repo Stats — GitHub star growth and fork count to complement npm download trends for open source assessment
- PyPI Downloads Tracker — Python package download stats for cross-ecosystem library popularity comparison
- Product Hunt Launches Tracker — Developer tool launches that often precede npm download spikes
Feedback
If this actor helps your developer ecosystem research, a review helps others find it: Leave a review on Apify Store
Keywords: npm package trends, npm download comparison, JavaScript library comparison, npm historical data, package growth rate, npm sparkline data, npm weekly trend, developer adoption metrics, framework comparison npm, React vs Vue downloads, npm popularity chart, package momentum, library market share, npm time series, open source growth