Skip to content
JS
Package

agent-base

Turn a function into an `http.Agent` instance

v9.0.0, 1 Apr 2026MITESM onlyTypes: BundledNode.js utilities
$ npm install agent-base

Key numbers

As of 25 Sept 2026
Weekly downloads
194.3m
+102% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
5 months ago
v9.0.0
GitHub stars
1.2k
277 forks
Open issues / PRs
20 / 13
Contributors
48
Commits, last 52 weeks
47

Downloads

Last week 2026-09-15 to 2026-09-21
0100m200m300mSept 2025Mar 2026Sept 2026High 268.1m (25 Aug 2026)Low 62.9m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

194,313,690 downloads last week, 911,376,436 in the last month. The 12-month change of +102% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
233 in total
Latest version
9.0.0, 1 Apr 20265 months ago
First published
9 Jul 2013
Last push to GitHub
10 Sept 202614 days before the snapshot
Repository archived
No
Open issues
20
Open pull requests
13
Commits, last 52 weeks
47
Dependents on npm
1,076

Major versions

  1. v9 first release 9.0.0, 1 Apr 2026
  2. v8 first release 8.0.0, 11 Mar 2026
  3. v7 first release 7.0.0, 4 May 2023
  4. v6 first release 6.0.0, 23 Jan 2020
  5. v5 first release 5.0.0, 10 Dec 2019
  6. v4 first release 4.0.0, 6 Jun 2017
  7. v3 first release 3.0.0, 2 Jun 2017
  8. v2 first release 2.0.0, 10 Jul 2015
  9. v1 first release 1.0.0, 9 Sept 2013
  10. v0 first release 0.0.1, 9 Jul 2013

Recent releases

VersionPublished
9.0.01 Apr 2026
8.0.011 Mar 2026
7.1.47 Jul 2025
7.1.38 Dec 2024
7.1.27 Dec 2024
7.1.130 Mar 2024
7.1.024 May 2023
7.0.218 May 2023
7.0.15 May 2023
7.0.04 May 2023
6.0.223 Oct 2020
6.0.12 Jul 2020
6.0.023 Jan 2020
5.1.111 Dec 2019
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>= 20
Runtimes
-
Unpacked size (npm)
21 kB
Dependencies (0)
None
npm install agent-base
  • jsDelivrhttps://cdn.jsdelivr.net/npm/agent-base@9.0.0/
  • unpkghttps://unpkg.com/agent-base@9.0.0/
  • esm.shhttps://esm.sh/agent-base@9.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.