pub fn detect_npm_tool(root: &Path) -> &'static str
Detect which npm-compatible tool is in use at root. Checks lockfiles in priority order: pnpm > yarn > npm. Returns "npm" as the safe default.
root
"npm"