npm package
Homeglobal-dirs
global-dirs is a utility for retrieving the directories of globally installed npm and yarn packages and binaries. It is useful for applications that need to know where global packages are located for tasks such as importing or executing them. This package fits into an app's dependency management and environment configuration.
- lurq health score
- 45/100
- Confidence
- unproven
- Weekly downloads
- 17,668,079
- Latest version
- 4.0.0
- Last release
- Feb 2, 2026
- License
- MIT
Should you depend on global-dirs?
lurq's verdict: medium
- Deprecated on npm
- No known advisories
- the publisher has marked this package deprecated
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks global-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 global-dirs
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 3.0.1 → 4.0.0diff ready
- 2.1.0 → 3.0.1diff ready
- 1.0.0 → 2.1.0diff ready
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 18, 2026; this page refreshes every 168 hours. Source repository.