@npmcli/git 4.0.0
a util for spawning git from npm CLI contexts
@npmcli/git@4.0.0 was published on 2022-10-14. Its manifest declares 9 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is ^14.17.0 || ^16.13.0 || >=18.0.0.
All @npmcli/git versions · Permanent reference to 4.0.0 · Latest release
Package specifications
| Version | 4.0.0 |
|---|---|
| License declaration | ISC |
| Published | 2022-10-14T20:39:29.176Z |
| Node.js requirement | ^14.17.0 || ^16.13.0 || >=18.0.0 |
| Type declarations | Not declared |
| Runtime dependency count | 9 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 21.28 KiB |
| Published file count | 16 |
| 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 | 20 |
| Repository stars | 75 |
| Repository forks | 31 |
Install @npmcli/git 4.0.0
npm install @npmcli/git@4.0.0 pnpm add @npmcli/git@4.0.0 yarn add @npmcli/git@4.0.0
Runtime dependencies
- which ^2.0.2
- mkdirp ^1.0.4
- semver ^7.3.5
- proc-log ^3.0.0
- lru-cache ^7.4.4
- promise-retry ^2.0.1
- promise-inflight ^1.0.1
- npm-pick-manifest ^7.0.0
- @npmcli/promise-spawn ^3.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.
- @npmcli/promise-spawn@3.0.0 — direct
- builtins@5.1.0 — indirect
- err-code@2.0.3 — indirect
- hosted-git-info@5.2.1 — indirect
- infer-owner@1.0.4 — indirect
- isexe@2.0.0 — indirect
- lru-cache@7.18.3 — direct
- mkdirp@1.0.4 — direct
- npm-install-checks@5.0.0 — indirect
- npm-normalize-package-bin@2.0.0 — indirect
- npm-package-arg@9.1.2 — indirect
- npm-pick-manifest@7.0.2 — direct
- proc-log@2.0.1 — indirect
- proc-log@3.0.0 — direct
- promise-inflight@1.0.1 — direct
- promise-retry@2.0.1 — direct
- retry@0.12.0 — indirect
- semver@7.8.5 — direct
- validate-npm-package-name@4.0.0 — indirect
- which@2.0.2 — 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.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 6/10 — Found 4/6 approved changesets -- score normalized to 6 |
|---|---|
| Security-Policy | 10/10 — security policy file detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Maintained | 0/10 — 1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| SAST | 9/10 — SAST tool detected but not run on all commits |
Evidence and freshness
- https://registry.npmjs.org/%40npmcli%2Fgit/4.0.0 — retrieved 2026-10-29T12:39:43.119Z
- https://api.deps.dev/v3/projects/github.com%2Fnpm%2Fgit — retrieved 2026-10-29T11:33:41.633Z
- https://api.deps.dev/v3/systems/npm/packages/%40npmcli%2Fgit/versions/4.0.0 — retrieved 2026-10-29T12:39:43.631Z
- https://api.deps.dev/v3/systems/npm/packages/%40npmcli%2Fgit/versions/4.0.0:dependencies — retrieved 2026-10-29T12:39:43.662Z