Detect the package manager from the current process environment.
Uses the npm_config_user_agent env var which is set by npm, pnpm and yarn. Falls back to npm if not recognized.
Detect the package manager from the current process environment.
Uses the npm_config_user_agent env var which is set by npm, pnpm and yarn. Falls back to npm if not recognized.