{"package":"global-dirs","ecosystem":"npm","latest_version":"4.0.0","description":"Get the directory of globally installed packages and binaries","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/sindresorhus/global-dirs#readme","repository":"https://github.com/sindresorhus/global-dirs","downloads_weekly":14616027,"health":{"score":54,"risk":"high","breakdown":{"maintenance":25,"popularity":20,"security":25,"maturity":12,"community":2},"deprecated":true,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"4.0.0","total_count":9,"recent":["0.1.0","0.1.1","1.0.0","2.0.0","2.0.1","2.1.0","3.0.0","3.0.1","4.0.0"]},"metadata":{"deprecated":true,"deprecated_message":"Renamed to global-directory","maintainers_count":1,"first_published":"2017-06-25T22:20:19.199Z","last_published":"2023-11-06T15:45:22.808Z","dependencies_count":1,"dependencies":["ini"]},"github_stats":{"stars":78,"forks":10,"open_issues":0,"is_archived":false,"pushed_at":"2026-09-18T19:06:46Z","subscribers_count":4},"bundle":null,"typescript":{"score":10,"has_types":true,"types_source":"bundled","types_package":null},"known_issues":{"bugs_count":0,"bugs_severity":{},"status_breakdown":{},"link":null,"scope":"none"},"historical_compromise":null,"recommendation":{"action":"find_alternative","issues":["Moderate health score (54/100) — verify manually","Package is deprecated"],"use_version":"4.0.0","version_hint":null,"summary":"global-dirs is deprecated — find an alternative","alternatives":[{"name":"global-directory","reason":"Deprecation notice: use global-directory","builtin":false}]},"version_scoped":null,"_meta":{"endpoint":"check","tier":"full","philosophy":"DepScope is free. Use the cheapest endpoint that answers your real question.","cheaper_alternatives":[{"endpoint":"/api/exists/npm/global-dirs","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/global-dirs","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/global-dirs","tokens_estimated":280,"use_when":"you want a plain-text LLM-friendly brief instead of JSON"},{"endpoint":"POST /api/check_bulk","tokens_estimated":60,"use_when":"you have 5+ packages to check; sends one round-trip instead of N"}],"docs":"https://depscope.dev/integrate","hint_bulk":"You've called /api/check 33 times in 60s. Save bandwidth + tokens with POST /api/check_bulk (1 round-trip for N pkgs)."},"requested_version":null,"_cache":"hit","_response_ms":0,"_powered_by":"depscope.dev — free package intelligence for AI agents","typosquat":{"is_suspected":false},"maintainer_trust":{"available":false},"malicious":{"is_malicious":false},"scorecard":{"available":false},"quality":{"available":true,"criticality_score":0.721,"criticality_tier":"critical","velocity_pct":null,"velocity_trend":null,"publish_security":"signed"},"alternatives_link":{"url":"/api/alternatives/npm/global-dirs","count":1},"co_used_with":[{"package":"pyreadline3","occurrences":4}],"version_history_summary":{"total_versions":9,"first_release_age_days":3376,"last_release_days_ago":1051,"avg_days_between_releases":422,"release_velocity":"stale"}}