npm Package Trends — Downloads, Deps & Vulnerabilities avatar

npm Package Trends — Downloads, Deps & Vulnerabilities

Under maintenance

Pricing

from $1.00 / 1,000 item processeds

Go to Apify Store
npm Package Trends — Downloads, Deps & Vulnerabilities

npm Package Trends — Downloads, Deps & Vulnerabilities

Under maintenance

Analyze 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

Hojun Lee

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

a day ago

Last modified

Categories

Share

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.

  • 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.
  1. Open the actor on Apify and click Try for free.
  2. In the Input tab, add your package names to the packages array (e.g. ["react", "vue", "svelte"]).
  3. Toggle optional enrichments: includeDownloadHistory, includeDependencies, and includeBundleSize.
  4. Click Start and wait — typically 2–10 seconds per package.
  5. Download results as JSON or CSV, or connect via the Apify API for automated CI/CD pipelines.

Input

FieldTypeDefaultRequiredDescription
packagesstring[]—Yesnpm package names to analyze (e.g. react, @types/node, lodash)
includeDownloadHistorybooleantrueNoInclude daily download counts for the last 30 days
includeDependenciesbooleantrueNoInclude dependencies and devDependencies counts
includeBundleSizebooleanfalseNoFetch 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

FieldTypeDescription
namestringPackage name on npm
versionstringLatest published version
descriptionstringPackage description from the registry
licensestringSPDX license identifier
homepagestringProject homepage URL
repository_urlstringSource repository URL
keywordsstring[]Registry keywords
maintainers_countintegerNumber of registered maintainers
weekly_downloadsintegerDownloads in the last 7 days
monthly_downloadsintegerDownloads in the last 30 days
downloads_trendfloat% change: last 2 weeks vs prior 2 weeks
download_historyobject[]Daily download counts for the last 30 days
last_publishISO8601Date of the most recent version release
bundle_size_gzipinteger | nullGzip bundle size in bytes (requires includeBundleSize)
dependencies_countintegerNumber of direct dependencies
dev_dependencies_countintegerNumber of devDependencies
fetched_atISO8601Timestamp 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 analyzedCost
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.


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