@npmcli/agent 5.0.1
the http/https agent used by the npm cli
@npmcli/agent@5.0.1 was published on 2026-05-26. 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.1 · Latest release
Package specifications
| Version | 5.0.1 |
|---|---|
| License declaration | ISC |
| Published | 2026-05-26T16:40:11.016Z |
| 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.32 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.1
npm install @npmcli/agent@5.0.1 pnpm add @npmcli/agent@5.0.1 yarn add @npmcli/agent@5.0.1
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.1 — retrieved 2026-10-29T10:50:07.793Z
- 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/5.0.1 — retrieved 2026-10-29T10:50:08.324Z
- https://api.deps.dev/v3/systems/npm/packages/%40npmcli%2Fagent/versions/5.0.1:dependencies — retrieved 2026-10-29T10:50:08.352Z