@npmcli/package-json 8.0.0
Programmatic API to update package.json
@npmcli/package-json@8.0.0 was published on 2026-05-22. Its manifest declares 7 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/package-json versions · Permanent reference to 8.0.0 · Latest release
Package specifications
| Version | 8.0.0 |
|---|---|
| License declaration | ISC |
| Published | 2026-05-22T16:41:16.114Z |
| Node.js requirement | ^22.22.2 || ^24.15.0 || >=26.0.0 |
| Type declarations | Not declared |
| Runtime dependency count | 7 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 52.75 KiB |
| Published file count | 12 |
| 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 | 25 |
| Repository stars | Unknown |
| Repository forks | Unknown |
Install @npmcli/package-json 8.0.0
npm install @npmcli/package-json@8.0.0 pnpm add @npmcli/package-json@8.0.0 yarn add @npmcli/package-json@8.0.0
Runtime dependencies
- glob ^13.0.0
- semver ^7.5.3
- proc-log ^7.0.0
- @npmcli/git ^8.0.0
- hosted-git-info ^10.1.1
- spdx-expression-parse ^4.0.0
- json-parse-even-better-errors ^6.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.
- @gar/promise-retry@1.0.3 — indirect
- @npmcli/git@8.0.0 — direct
- @npmcli/promise-spawn@10.0.1 — indirect
- balanced-match@4.0.4 — indirect
- brace-expansion@5.0.12 — indirect
- glob@13.0.6 — direct
- hosted-git-info@10.1.1 — direct
- ini@7.0.0 — indirect
- isexe@4.0.0 — indirect
- json-parse-even-better-errors@6.0.0 — direct
- lru-cache@11.5.3 — indirect
- minimatch@10.2.6 — indirect
- minipass@7.1.3 — indirect
- npm-install-checks@9.0.0 — indirect
- npm-normalize-package-bin@6.0.0 — indirect
- npm-package-arg@14.0.0 — indirect
- npm-pick-manifest@12.0.0 — indirect
- path-scurry@2.0.2 — indirect
- proc-log@7.0.0 — direct
- semver@7.8.5 — direct
- spdx-exceptions@2.5.0 — indirect
- spdx-expression-parse@4.0.0 — direct
- spdx-license-ids@3.0.24 — indirect
- validate-npm-package-name@8.0.0 — indirect
- which@7.0.0 — indirect
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%2Fpackage-json/8.0.0 — retrieved 2026-10-29T10:25:13.277Z
- https://api.deps.dev/v3/systems/npm/packages/%40npmcli%2Fpackage-json/versions/8.0.0 — retrieved 2026-10-29T10:25:13.817Z
- https://api.deps.dev/v3/systems/npm/packages/%40npmcli%2Fpackage-json/versions/8.0.0:dependencies — retrieved 2026-10-29T10:25:13.820Z