NPM Package Scraper - Dependencies, Downloads & Author Data avatar

NPM Package Scraper - Dependencies, Downloads & Author Data

Pricing

from $0.50 / 1,000 npm package records

Go to Apify Store
NPM Package Scraper - Dependencies, Downloads & Author Data

NPM Package Scraper - Dependencies, Downloads & Author Data

Extract package metadata, versions, maintainers, dependencies, weekly downloads, GitHub repositories, and license info from npmjs.com.

Pricing

from $0.50 / 1,000 npm package records

Rating

0.0

(0)

Developer

Made In Germany

Made In Germany

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

📦 NPM Package Scraper: Dependencies, Download Statistics & Author Data

A production-grade, enterprise web scraper to extract structured metadata, dependencies, weekly download statistics, and author information from npm (the official Node.js package registry at npmjs.com).

Whether you are performing open-source dependency auditing, monitoring competitor libraries, tracking tech stack adoption, or building developer intelligence dashboards, the NPM Package Scraper provides real-time, clean JSON data at scale with zero rate-limit hurdles.


🌟 Key Features & Extracted Data

FieldTypeDescriptionExample
nameStringOfficial package name"express"
versionStringLatest stable semantic release"4.21.1"
descriptionStringPackage summary / tagline"Fast, unopinionated, minimalist web framework for node."
licenseStringOpen-source license identifier"MIT"
homepageStringOfficial project homepage URL"https://expressjs.com/"
repositoryUrlStringGitHub / Git repository link"https://github.com/expressjs/express"
authorNameStringPackage creator or lead author"TJ Holowaychuk"
maintainersArrayCurrent package maintainers[{"name": "dougwilson", "email": "doug@something.com"}]
dependenciesObjectProduction dependencies mapping{"accepts": "~1.3.8", "cookie": "0.7.1"}
devDependenciesObjectDevelopment dependencies mapping{"mocha": "10.7.3", "supertest": "7.0.0"}
weeklyDownloadsNumberOfficial 7-day download count32450890
keywordsArrayNPM package classification tags["express", "framework", "rest", "api"]
scrapedAtStringISO 8601 timestamp of extraction"2026-10-15T12:00:00.000Z"

💼 High-Value Commercial Use Cases

  1. Supply Chain & Security Audits: Scan dependencies across mission-critical npm libraries to detect abandoned packages or unexpected license changes (e.g. GPL vs. MIT).
  2. Competitive & Market Intelligence: Track adoption trends between rival libraries (e.g. Fastify vs. Express or Vite vs. Webpack) using live weekly download trajectories.
  3. Developer Tooling & Integrations: Build automated dependency alert bots, Slack notifications for new major releases, or data pipelines for tech recruiting.
  4. Vulnerability Tracking & CVE Matching: Extract exact version manifests and package maintainers to correlate against CVE vulnerability databases.

🚀 How to Use the NPM Package Scraper

  1. Input Setup: Enter one or more npm package names (e.g., express, crawlee, lodash) or search keywords in the input console.
  2. Configure Limits: Set maxItems to dictate how many packages to scrape (default: 50).
  3. Execute Run: Click Start to run the Actor on Apify Cloud.
  4. Download & Integrate: Export clean data in JSON, CSV, Excel, or consume live via Apify's REST API, Webhooks, or Python/Node.js SDKs.

⚙️ Input Parameters

ParameterTypeRequiredDefaultDescription
searchQueryStringNo"express"Keyword or package name to search for on npmjs.com.
startUrlsArrayNo[]List of direct npm package URLs (e.g., https://www.npmjs.com/package/crawlee).
maxItemsIntegerNo50Maximum number of package records to extract.
proxyObjectNo{ "useApifyProxy": true }Apify Proxy configuration for high-concurrency scraping.

📊 Sample Output (JSON)

{
"name": "crawlee",
"version": "3.12.0",
"description": "Crawlee - A web scraping and browser automation library for Node.js.",
"license": "Apache-2.0",
"homepage": "https://crawlee.dev",
"repositoryUrl": "https://github.com/apify/crawlee",
"authorName": "Apify",
"maintainers": [
{
"name": "apify",
"email": "support@apify.com"
}
],
"dependencies": {
"@crawlee/basic": "^3.12.0",
"@crawlee/browser": "^3.12.0",
"@crawlee/cheerio": "^3.12.0"
},
"weeklyDownloads": 284190,
"keywords": [
"crawler",
"scraper",
"headless",
"puppeteer",
"playwright"
],
"scrapedAt": "2026-10-15T12:00:00.000Z"
}

💰 Transparent Pay-Per-Event (PPE) Pricing

Unlike costly subscription-only APIs, this scraper utilizes transparent Pay-Per-Event (PPE) billing:

  • Micro-cost per package: Pay only for successful package records extracted.
  • Zero waste: Failed lookups or non-existent packages are never charged.
  • Scale effortlessly: From 10 packages to 500,000+ packages with built-in concurrency controls.

❓ Frequently Asked Questions (FAQ)

Do I need an npm account or API key?

No! The scraper connects directly to public registry endpoints and web interfaces without requiring any developer credentials or API keys.

Can I scrape download statistics for private packages?

No. This Actor is strictly designed for public packages indexed on the npm registry (npmjs.com).

Can I export the results to Google Sheets or Excel?

Yes! Once your run finishes, click Export on the dataset page and select CSV or Excel format. You can also automate imports into Google Sheets using Apify's native Google Sheets integration.

What happens if a package does not have a license or repository listed?

The scraper handles missing or partial fields gracefully, setting them to null while preserving all other extracted metadata.