agent-base

Turn a function into an `http.Agent` instance

npm says / week

npm says 394,616,796

real installs / week

≈ 395M

high confidence

noise under 1% of npm's count, so filtering barely changes it.

Most used major version: 7, not the latest one, with 54% of last week's downloads above the crawler floor. Most used single version: 7.1.4.

Mirror spikes and crawlers removed. CI and dependency installs still count, so this is not a head count. Snapshot from the daily build of Nov 27, 2026, last 7 days of npm data. With JavaScript on, this page recomputes it live from the npm API.

How many people use agent-base?

npm counted 394,616,796 downloads of agent-base in the last 7 days. Nobody can count people exactly, npm included: it does not record who downloaded what. After removing mirror spikes and crawlers, about 395M look like real installs. At this scale most of them come from CI, builds and other packages that depend on agent-base, so the number of people behind them is far smaller.

Is agent-base still maintained?

Less clear: the last release is more than six months old. The latest version, 9.0.0, came out on Apr 1, 2026. The last 12 months saw 2 stable releases. It was first published on Jul 9, 2013. npm lists 1 maintainer.

Is agent-base still used?

Downloads with publish spikes removed are up 53% over 3 months and up 242% over 11 months. For scale, the median of the 582 packages we track, which lean towards today's most downloaded, is up 184% over 11 months, so this one is ahead of that. Last week, 54% of downloads above the crawler floor were on major version 7, not the latest one; the most used single version was 7.1.4, with 50%. Weekdays get 1.9× the downloads of weekends, which fits people at work, though CI follows the same rhythm. Crawlers account for about 1,459 downloads a week, roughly 44 per version.

Monthly downloads of agent-base

The busiest month was Oct 2026, with about 50,726,929 downloads a day once publish spikes are removed; the quietest was Dec 2025 (the holiday season), with about 14,404,880.

monthnpm downloadspublish spikes removedreal installsvs month before
Oct 2026 1,420,354,023 0 1.42B up 17%
Sep 2026 1,304,828,949 0 1.3B up 20%
Aug 2026 1,119,178,913 0 1.12B about flat
Jul 2026 1,090,507,451 0 1.09B about flat
Jun 2026 1,024,479,170 0 1.02B up 23%
May 2026 860,607,368 0 861M up 15%
Apr 2026 726,900,200 0 727M about flat
Mar 2026 732,118,576 0 732M up 19%
Feb 2026 554,923,846 0 555M up 24%
Jan 2026 494,526,320 0 494M–495M up 11%
Dec 2025 446,551,294 0 447M —

Whole months through Oct 31, 2026. Publish spikes are found day by day and summed per month. Real installs apply this week's crawler share to each month's downloads (the upper end also keeps the removed spikes), so they follow npm's curve rather than measure it. The change compares spike-free downloads per day.

Where do the downloads of agent-base come from?

Probably mostly through other packages. Each package below requires the one above it, and their weekly downloads on the matching versions line up within about 30%. This is an inference from download counts, not something npm records.

  1. agent-base 7.1.4 395M a week
  2. https-proxy-agent 7.0.6 377M a week

Past https-proxy-agent the trail splits or we can't follow it. They still count as real installs, but the projects behind them may never have chosen agent-base directly. How a package ends up like this.

How the estimate works

  1. Cut the spike every new version gets from mirrors and scanners in its first days.
  2. Subtract the crawler floor: the flat count crawlers download from every version each week.
  3. Show what is left as a range, with a confidence level. It still includes CI and dependency installs, so it is not a count of people.

Read the methodology