USE CASE · IN YOUR BROWSER
Export daily npm downloads for a package to Excel
Enter a public npm package name, including scoped names such as @babel/core, and choose last-week or last-month. AIVane asks the npm Downloads API and writes one row per day to an Excel file: package, date and number of downloads, in date order. Our test exported lodash for the last month and got 30 daily rows starting on 29 October 2026.
How it works
- Copy the npm stats export. Choose Try it in your browser. The automation makes one request to the npm Downloads API; no browser is opened.
- Choose the package and period. Enter the package name and either last-week (7 days) or last-month (30 days), plus the maximum number of daily rows.
- Open the workbook. Download the Excel file and chart the downloads column against the dates.
Try it on the practice site
- 01
Open npm package stats
After you sign in from the Try it link, the automation is in My automations with three steps: request daily downloads from npm, keep the most recent dates and save the Excel workbook.

- 02
Enter the package and run it
Choose Run. npm package name is lodash, Download period is last-month, Maximum daily rows is 50 and Excel output file is npm-daily-downloads.xlsx. Choose Confirm and run.

- 03
Download npm-daily-downloads.xlsx
Our run took 7 seconds and wrote 30 rows with package, day and downloads. The first row was lodash on 2026-10-29 with 36,131,256 downloads.

How other methods compare
- The npm website
- Shows weekly downloads for a package. The export gives you each day as a table you can chart and keep.
- Download dashboards
- Third-party dashboards chart trends for you. This saves the raw numbers where you can use them.
- Calling the API yourself
- Possible if you code. This is an automation you can run again.
Frequently asked questions
Where do the numbers come from?
From the public npm Downloads API. Dates and counts are as npm publishes them and roll forward each day.
Which periods can I choose?
last-week for 7 days or last-month for 30 days. We tested last-month.
Does it work for scoped packages?
The package name field accepts names with a scope, such as @babel/core. We only tested an unscoped package, lodash.
What if the package does not exist?
According to the automation's steps, it saves the HTTP status and a message in a text file instead of the workbook. We did not test that case.
Can I run it on a schedule?
Running on a schedule in AIVane Cloud is part of Pro and Business, and you can create the schedule in your browser. The cloud schedule limit is 5 on Pro and 20 per organization on Business. Free and Starter can try scheduling: 1 cloud schedule turned on and up to 3 scheduled runs within 7 days of the first scheduled run. Each trial run uses your remaining cloud minutes; on Free, that is the one 10-minute AIVane Cloud trial.
Is it free?
Free includes 3 saved automations, local runs of up to 15 minutes each and a one-time 10-minute AIVane Cloud trial. Our run used 14 seconds of cloud time.
Want a hand with this?
Our first users can ask for hands-on help: one website task, one sheet, and a week of watching it run.
Get help automating this taskLast verified 2026-11-28 with the AIVane web workspace at app.aivane.net (production server of 2026-11-28).