npm package
Homeparent-module
The parent-module package provides a reliable method to obtain the file path of the parent module that invoked the current module, supporting both CommonJS and ESM. It is useful for scenarios where you need to reference the parent module's path, such as reading its package. json file.
- lurq health score
- 60/100
- Confidence
- proven
- Weekly downloads
- 102,415,489
- Latest version
- 3.2.0
- Last release
- Sep 15, 2025
- License
- MIT
Should you depend on parent-module?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks parent-module 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
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 13, 2026; this page refreshes every 24 hours. Source repository.