package-manager-detector reliably identifies which package manager (npm, Yarn, pnpm) was used to install dependencies in a project. This lightweight utility analyzes the project's file structure and package metadata to accurately determine the active package manager. It's crucial for task runners, build tools, and scripts that need to adapt their behavior based on the package manager employed, ensuring consistent and predictable execution across diverse development environments. Simplified package manager detection for smoother workflow integration.
The package-manager-detector npm package saw frequent releases between August and December 2024, then slowed in early 2025. August 2024 had the most releases (5 versions). There were no releases in September 2024 or June and July 2025. March 2025 marked a significant update with versions 1.0.0 and 1.1.0 released.
The npm package "package-manager-detector" saw no downloads until August 2024. Downloads then rapidly increased, peaking in July 2025 at over 16 million. August 2025, the current month, shows a partial download count of around 7 million, suggesting a potential decrease in downloads.