Npm Package Search avatar

Npm Package Search

Pricing

from $10.00 / 1,000 results

Go to Apify Store
Npm Package Search

Npm Package Search

Search and scrape npm packages with download stats

Pricing

from $10.00 / 1,000 results

Rating

0.0

(0)

Developer

Donny

Donny

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

7 hours ago

Last modified

Categories

Share

What it does

npm Package Search searches and extracts Node.js package information from the npm registry. It returns package names, versions, descriptions, weekly download counts, authors, and direct links.

Why use it

npm is the world's largest software registry with over 2 million packages. This actor helps JavaScript developers, DevOps teams, and researchers discover packages, compare alternatives, and track popularity trends. Ideal for dependency auditing, ecosystem analysis, or building package recommendation tools.

How it works

  1. The actor takes a search query and optional maximum items count.
  2. It first attempts to scrape npmjs.com search results using CheerioCrawler.
  3. If HTML scraping yields no results, it falls back to the npm registry API.
  4. Results are pushed to the Apify dataset in a structured format.

Input parameters

ParameterTypeDefaultDescription
querystring"express"Search query to find npm packages
maxItemsinteger20Maximum number of results (1-200)

Output fields

FieldTypeDescription
namestringPackage name
versionstringLatest version
descriptionstringPackage description
weeklyDownloadsstringWeekly download count
authorstringPackage author
urlstringLink to npm package page

Cost estimate

Pay-per-event pricing is $0.00075 per result. npm is freely accessible. Memory usage is minimal at 1024 MB default.

Tips

  • Search by package name or keywords for best results.
  • The actor includes a fallback to the npm registry API for reliable results.
  • For package registry scrapers in other ecosystems, check out PyPI Package Search and RubyGems Search Scraper.