is-git-repository
A tool to check if a specific path is a git repository
is-git-repository@3.0.0 was published on 2025-01-14. Its manifest declares 1 runtime dependency and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All is-git-repository versions · Permanent reference to 3.0.0
Package specifications
| Version | 3.0.0 |
|---|---|
| License declaration | MIT |
| Published | 2025-01-14T20:24:30.702Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 1 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 5.30 KiB |
| Published file count | 9 |
| Package type | module |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 23 |
| Repository stars | 10 |
| Repository forks | 2 |
Install is-git-repository 3.0.0
npm install is-git-repository@3.0.0 pnpm add is-git-repository@3.0.0 yarn add is-git-repository@3.0.0
Runtime dependencies
- execa ^9.5.2
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.
- @sec-ant/readable-stream@0.4.1 — indirect
- @sindresorhus/merge-streams@4.0.0 — indirect
- cross-spawn@7.0.6 — indirect
- execa@9.6.1 — direct
- figures@6.1.0 — indirect
- get-stream@9.0.1 — indirect
- human-signals@8.0.1 — indirect
- is-plain-obj@4.1.0 — indirect
- is-stream@4.0.1 — indirect
- is-unicode-supported@2.1.0 — indirect
- isexe@2.0.0 — indirect
- npm-run-path@6.0.0 — indirect
- parse-ms@4.0.0 — indirect
- path-key@3.1.1 — indirect
- path-key@4.0.0 — indirect
- pretty-ms@9.3.1 — indirect
- shebang-command@2.0.0 — indirect
- shebang-regex@3.0.0 — indirect
- signal-exit@4.1.0 — indirect
- strip-final-newline@4.0.0 — indirect
- unicorn-magic@0.3.0 — indirect
- which@2.0.2 — indirect
- yoctocolors@2.2.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.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
|---|---|
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Code-Review | 0/10 — Found 0/21 approved changesets -- score normalized to 0 |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| SAST | 0/10 — no SAST tool detected |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Security-Policy | 0/10 — security policy file not detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
Evidence and freshness
- https://registry.npmjs.org/is-git-repository/3.0.0 — retrieved 2026-10-30T06:20:04.794Z (stale snapshot; refresh pending)
- https://api.deps.dev/v3/projects/github.com%2FJPeer264%2Fnode-is-git-repository — retrieved 2026-10-30T05:05:11.749Z
- https://api.deps.dev/v3/systems/npm/packages/is-git-repository/versions/3.0.0 — retrieved 2026-10-30T08:30:56.664Z
- https://api.deps.dev/v3/systems/npm/packages/is-git-repository/versions/3.0.0:dependencies — retrieved 2026-10-30T08:30:56.687Z