strip-dirs
Remove leading directory components from a path, like tar's --strip-components option
strip-dirs@3.0.0 was published on 2018-09-14. Its manifest declares 2 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. No Node.js engine requirement is declared in this manifest.
All strip-dirs versions · Permanent reference to 3.0.0
Package specifications
| Version | 3.0.0 |
|---|---|
| License declaration | ISC |
| Published | 2018-09-14T02:43:06.645Z |
| Node.js requirement | Not declared |
| Type declarations | Not declared |
| Runtime dependency count | 2 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 6.11 KiB |
| Published file count | 4 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 3 |
| Repository stars | 8 |
| Repository forks | 1 |
Install strip-dirs 3.0.0
npm install strip-dirs@3.0.0 pnpm add strip-dirs@3.0.0 yarn add strip-dirs@3.0.0
Runtime dependencies
- inspect-with-kind ^1.0.5
- is-plain-obj ^1.1.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.
- inspect-with-kind@1.0.5 — direct
- is-plain-obj@1.1.0 — direct
- kind-of@6.0.3 — 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.
| SAST | 0/10 — no SAST tool detected |
|---|---|
| Code-Review | 0/10 — Found 0/30 approved changesets -- score normalized to 0 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Maintained | 0/10 — 0 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 |
| 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/strip-dirs/3.0.0 — retrieved 2026-10-29T07:17:14.733Z (stale snapshot; refresh pending)
- https://api.deps.dev/v3/projects/github.com%2Fshinnn%2Fnode-strip-dirs — retrieved 2026-10-29T06:00:28.416Z
- https://api.deps.dev/v3/systems/npm/packages/strip-dirs/versions/3.0.0:dependencies — retrieved 2026-10-29T08:00:46.029Z
- https://api.deps.dev/v3/systems/npm/packages/strip-dirs/versions/3.0.0 — retrieved 2026-10-29T08:00:45.998Z