Npm Package Search
Pricing
from $10.00 / 1,000 results
Pricing
from $10.00 / 1,000 results
Rating
0.0
(0)
Developer

Donny
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
- The actor takes a search query and optional maximum items count.
- It first attempts to scrape npmjs.com search results using CheerioCrawler.
- If HTML scraping yields no results, it falls back to the npm registry API.
- Results are pushed to the Apify dataset in a structured format.
Input parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
query | string | "express" | Search query to find npm packages |
maxItems | integer | 20 | Maximum number of results (1-200) |
Output fields
| Field | Type | Description |
|---|---|---|
name | string | Package name |
version | string | Latest version |
description | string | Package description |
weeklyDownloads | string | Weekly download count |
author | string | Package author |
url | string | Link 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.