@npmcli/agent 5.0.2
the http/https agent used by the npm cli
@npmcli/agent@5.0.2 was published on 2026-06-19. 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 ^22.22.2 || ^24.15.0 || >=26.0.0.
All @npmcli/agent versions · Permanent reference to 5.0.2 · Latest release
Package specifications
| Version | 5.0.2 |
|---|---|
| License declaration | ISC |
| Published | 2026-06-19T18:25:56.923Z |
| Node.js requirement | ^22.22.2 || ^24.15.0 || >=26.0.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 | 19.52 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 | 11 |
| Repository stars | 9 |
| Repository forks | 14 |
Install @npmcli/agent 5.0.2
npm install @npmcli/agent@5.0.2 pnpm add @npmcli/agent@5.0.2 yarn add @npmcli/agent@5.0.2
Runtime dependencies
- lru-cache ^11.2.1
- agent-base ^9.0.0
- http-proxy-agent ^9.0.0
- https-proxy-agent ^9.0.0
- socks-proxy-agent ^10.0.0
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@9.0.0 — direct
- debug@4.4.3 — indirect
- http-proxy-agent@9.1.0 — direct
- https-proxy-agent@9.1.0 — direct
- ip-address@10.7.5 — indirect
- lru-cache@11.5.3 — direct
- ms@2.1.3 — indirect
- proxy-agent-negotiate@1.1.0 — indirect
- smart-buffer@4.2.0 — indirect
- socks@2.8.10 — indirect
- socks-proxy-agent@10.1.0 — 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/5.0.2 — retrieved 2026-10-29T12:21:55.752Z
- https://api.deps.dev/v3/systems/npm/packages/%40npmcli%2Fagent/versions/5.0.2:dependencies — retrieved 2026-10-29T09:25:53.665Z
- https://api.deps.dev/v3/systems/npm/packages/%40npmcli%2Fagent/versions/5.0.2 — retrieved 2026-10-29T09:25:53.649Z (stale snapshot; refresh pending)
- https://api.deps.dev/v3/projects/github.com%2Fnpm%2Fagent — retrieved 2026-10-29T08:40:20.974Z