npm package
Homestrip-dirs
strip-dirs is a utility for removing leading directory components from a path, similar to the tar command's --strip-components option. It is useful for simplifying paths in file manipulation tasks. This package helps streamline path handling in applications that require directory structure adjustments.
- lurq health score
- 40/100
- Confidence
- unproven
- Weekly downloads
- 5,792,668
- Latest version
- 3.0.0
- Last release
- Sep 14, 2018
- License
- ISC
Should you depend on strip-dirs?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks strip-dirs at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Upgrading strip-dirs
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 2.1.0 → 3.0.0diff ready
- 1.1.1 → 2.1.0being extracted
- 0.1.1 → 1.1.1being extracted
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 20, 2026; this page refreshes every 168 hours. Source repository.