pub fn declared_manager(package_json: &str) -> Option<Manager>Expand description
The packageManager field of a package.json, by a targeted scan of that
one key — the manager it names (npm@…, pnpm@…, yarn@…, bun@…)
when it names one without ambiguity, None otherwise.