Shows the environment that npm injects into lifecycle scripts, including npm_package_name, npm_lifecycle_event, and PATH entries for local binaries. Great for debugging why a script behaves differently from your shell. Run it inside the project directory.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.