Firecrawl Alexandria

npm

npm, the JavaScript package registry: full-text and typeahead package search, package documents with dist-tags and version history, per-version dependencies and tarballs, download counts (totals, daily series, per version), dependents and packages by user or organization.

Try npm now.

Choose an example or ask your own question.

npm
TRY ASKING
1Request
stringRequired

Package name as on npm, e.g. `express` or `@types/node` (scoped names unencoded).

string

`last-day`, `last-week`, `last-month`, `last-year`, a single `YYYY-MM-DD` or a `YYYY-MM-DD:YYYY-MM-DD` range (npm caps ranges at 18 months). Counts lag the current day by 1-3 days.

5 credits
Codefollows the fields above
const result = await firecrawl.scrape({
  alexandria: {
    provider: "npmjs-com",
    capability: "packages/get_download_range",
    options: {
      package: "express",
      period: "last-week",
    },
  },
});
2Response example

This is a sample shape. Press Run to see live data from npm.

end
2026-09-21
observed_at_ms
1790282754576
package
express
period
last-week
source_url
https://api.npmjs.org/downloads/range/last-week/express
start
2026-09-15
total
101489586
daydownloads
0
25426088
0
23305745
13679155
13971133
25107465

Benchmarks

Apps benchmarks

Quality, speed and cost, last 24 hours, across every agent call to npm through Alexandria.

Quality
99.2%
Calls answered without a tool error
Speed
1.2 s
95% of successful calls finish faster
Cost
5 credits
Firecrawl credits per call
Calls
238
Last 24 hours, every Alexandria user
Quality and speed of each tool, last 24 hours
ToolQualitySpeedCalls
Get package98.3%1.2 s118
Get package version100%682 ms75
Browse the library
//
Get started
//
Give your agent npm.
One API key for the live web and every provider in Alexandria.
Are you an AI agent? See setup options