NPM Scraper avatar
NPM Scraper

Pricing

from $0.01 / 1,000 results

Go to Apify Store
NPM Scraper

NPM Scraper

Scrape NPM package data. Get downloads, versions, dependencies, maintainers. Analyze JavaScript ecosystem trends, track package popularity, monitor dependencies. Build developer tools.

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

Do It

Do It

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 hours ago

Last modified

Categories

Share

NPM Package Scraper

Search and extract package data from NPM Registry. Over 2 million packages available.

Features

  • Search mode - Find packages by keywords
  • Package details - Get specific packages by name
  • Download stats - Weekly download counts
  • Quality scores - NPM's quality, popularity, maintenance scores
  • Dependencies - Count of dependencies and dev dependencies
  • README extraction - Full README content

Output Example

{
"rank": 1,
"name": "react",
"version": "18.2.0",
"description": "React is a JavaScript library for building user interfaces.",
"npmUrl": "https://www.npmjs.com/package/react",
"homepage": "https://reactjs.org/",
"repository": "https://github.com/facebook/react",
"publisher": "gnoff",
"maintainers": ["gnoff", "fb", "sophiebits"],
"keywords": ["react"],
"scorePopularity": 0.99,
"scoreQuality": 0.95,
"scoreMaintenance": 0.99,
"weeklyDownloads": 25000000
}

Input Parameters

ParameterTypeDescription
modestringsearch or packages
searchQuerystringKeywords to search
packageNamesstringComma-separated package names
sortBystringpopularity, quality, maintenance, optimal
maxItemsnumberMaximum packages to extract
minDownloadsnumberMinimum weekly downloads filter
includeReadmebooleanFetch README content

Use Cases

  • Market research - Find popular packages in a category
  • Competitor analysis - Compare similar packages
  • Dependency audit - Check package health metrics
  • Trend analysis - Track package popularity over time
  • Documentation - Extract README for analysis

Sort Options

  • Popularity - Weighted by downloads
  • Quality - Tests, docs, coverage, type definitions
  • Maintenance - Update frequency, issue response
  • Optimal - Balanced combination

Cost

Minimal - uses FREE NPM Registry API, no browser needed.


Built by flowbot.company

Usage with AI (MCP)

Connect to mcp.apify.com and use natural language:

  • "Scrape data using Npm Scraper"
  • "Get results from Npm Scraper"
  • "Run Npm Scraper with default settings"