NPM Scraper avatar

NPM Scraper

Try for free

3 days trial then $10.00/month - No credit card required now

Go to Store
NPM Scraper

NPM Scraper

epctex/npm-scraper
Try for free

3 days trial then $10.00/month - No credit card required now

One of the most crucial JavaScript communities is at your fingertips. Extract all the package information right away from NPM. Title, maintainers, readme, downloads per version, dependent libraries, and many other information can be retrieved directly! No limits! Get JSON, Excel, XML, and more!

You can access the NPM Scraper programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1echo '{
2  "startUrls": [
3    "https://www.npmjs.com/package/lodash",
4    "https://www.npmjs.com/~ljharb",
5    "https://www.npmjs.com/search?q=keywords:front-end&page=0&ranking=optimal",
6    "https://www.npmjs.com/search?q=keywords:modules",
7    "https://www.npmjs.com/search?q=axios"
8  ],
9  "maxItems": 20,
10  "endPage": 1,
11  "customMapFunction": "(object) => { return {...object} }",
12  "proxy": {
13    "useApifyProxy": true
14  }
15}' |
16apify call epctex/npm-scraper --silent --output-dataset

NPM Scraper API through CLI

The Apify CLI is the official tool that allows you to use NPM Scraper locally, providing convenience functions and automatic retries on errors.

Install the Apify CLI

1npm i -g apify-cli
2apify login

Other API clients include:

Developer
Maintained by Community

Actor Metrics

  • 2 monthly users

  • 1 star

  • 97% runs succeeded

  • Created in Apr 2023

  • Modified 4 hours ago