@npmcli/agent 4.0.0
the http/https agent used by the npm cli
@npmcli/agent@4.0.0 was published on 2025-09-18. Its manifest declares 5 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is ^20.17.0 || >=22.9.0.
All @npmcli/agent versions · Permanent reference to 4.0.0 · Latest release
Package specifications
| Version | 4.0.0 |
|---|---|
| License declaration | ISC |
| Published | 2025-09-18T16:21:44.311Z |
| Node.js requirement | ^20.17.0 || >=22.9.0 |
| Type declarations | Not declared |
| Runtime dependency count | 5 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 17.33 KiB |
| Published file count | 8 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | lib/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 10 |
| Repository stars | 9 |
| Repository forks | 14 |
Install @npmcli/agent 4.0.0
npm install @npmcli/agent@4.0.0 pnpm add @npmcli/agent@4.0.0 yarn add @npmcli/agent@4.0.0
Runtime dependencies
- lru-cache ^11.2.1
- agent-base ^7.1.0
- http-proxy-agent ^7.0.0
- https-proxy-agent ^7.0.1
- socks-proxy-agent ^8.0.3
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- agent-base@7.1.4 — direct
- debug@4.4.3 — indirect
- http-proxy-agent@7.0.2 — direct
- https-proxy-agent@7.0.6 — direct
- ip-address@10.7.5 — indirect
- lru-cache@11.5.3 — direct
- ms@2.1.3 — indirect
- smart-buffer@4.2.0 — indirect
- socks@2.8.10 — indirect
- socks-proxy-agent@8.0.5 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
Evidence and freshness
- https://registry.npmjs.org/%40npmcli%2Fagent/4.0.0 — retrieved 2026-10-29T10:49:09.594Z
- https://api.deps.dev/v3/projects/github.com%2Fnpm%2Fagent — retrieved 2026-10-29T08:40:20.974Z
- https://api.deps.dev/v3/systems/npm/packages/%40npmcli%2Fagent/versions/4.0.0 — retrieved 2026-10-29T10:49:10.117Z
- https://api.deps.dev/v3/systems/npm/packages/%40npmcli%2Fagent/versions/4.0.0:dependencies — retrieved 2026-10-29T10:49:10.169Z