Find the root directory of a Node.js project or npm package
pkg-dir is deprecated — find an alternative
No known vulnerabilities in the latest version.
Get this data programmatically — free, no authentication required:
curl https://depscope.dev/api/check/npm/pkg-dirFirst published: 2015-09-01T07:59:42.497Z
Last updated: 2025-06-05T18:33:38.380Z
Data from DepScope — Package Intelligence for AI Agents