{"package":"pkg-dir","ecosystem":"npm","latest_version":"9.0.0","description":"Find the root directory of a Node.js project or npm package","license":"MIT","homepage":"https://github.com/sindresorhus/pkg-dir#readme","repository":"https://github.com/sindresorhus/pkg-dir","downloads_weekly":79713108,"health":{"score":36,"risk":"critical","breakdown":{"maintenance":10,"popularity":20,"security":25,"maturity":9,"community":2},"deprecated":true,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"9.0.0","total_count":12,"recent":["1.0.0","2.0.0","3.0.0","4.0.0","4.1.0","4.2.0","5.0.0","6.0.0","6.0.1","7.0.0","8.0.0","9.0.0"]},"metadata":{"deprecated":true,"deprecated_message":"Renamed to `package-directory`.","maintainers_count":1,"first_published":"2015-09-01T07:59:42.497Z","last_published":"2025-06-05T18:33:38.380Z","dependencies_count":1,"dependencies":["find-up-simple"]},"recommendation":{"action":"find_alternative","issues":["Low health score (36/100)","Package is deprecated"],"use_version":"9.0.0","version_hint":null,"summary":"pkg-dir is deprecated — find an alternative"},"requested_version":null,"_cache":"miss","_response_ms":751,"_powered_by":"depscope.dev — free package intelligence for AI agents"}