Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Package Manager Detector

Utility to automatically detect which package manager (npm, yarn, pnpm) is used.

Dev workflow and configNPM

GitHubWebsite

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What Package Manager Detector does

Utility to automatically detect which package manager (npm, yarn, pnpm) is used.

Package Manager Detector popularity

49 / 100
Gid Score, #2063 overall
72.8M
downloads a week, npm
174
GitHub stars
3
agent projects use it
Package Manager Detector: downloads per weeknpm, package-manager-detector 72,783,266
Package Manager Detector: GitHub starsantfu-collective/package-manager-detector 174

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How Package Manager Detector is used

  • Package Manager Detector joined the catalog on its public numbers (72,783,266 downloads a week on npm and 174 GitHub stars), not on our project count: it is a dependency in 5 public GitHub projects of our scan, 3 of them set up for AI coding agents.
  • Projects that use it most often also use Biome (60.0%), TypeScript (100.0%), Vite (60.0%).

Often used with

In 60.0% of its projects
In 100.0% of its projects
In 60.0% of its projects
In 60.0% of its projects
In 40.0% of its projects
In 40.0% of its projects
In 40.0% of its projects

More about Package Manager Detector

Funding
  • GitHub Sponsors: https://github.com/antfu
  • Open Collective: https://opencollective.com/antfu
  • 147 GitHub sponsors

See all

More in Dev workflow and config

Alternatives

Package Manager Detector This page

MITGid 4972.8M/wk

Compare Package Manager Detector with another tool

Get started

Install it.

npm install package-manager-detector

No step-by-step start for Package Manager Detector yet: we have not written its hand-checked card.