Skip to content
JS
Package

which-pm

Detects what package manager was used for installation

v4.0.0, 11 Mar 2026MITESM onlyTypes: Bundled
$ npm install which-pm

Key numbers

As of 25 Sept 2026
Weekly downloads
2m
+15% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
6 months ago
v4.0.0
GitHub stars
104
33 forks
Open issues / PRs
14 / 24
Contributors
-
Commits, last 52 weeks
34

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3mSept 2025Mar 2026Sept 2026High 2.8m (25 Aug 2026)Low 821.1k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

2,006,139 downloads last week, 9,305,906 in the last month. The 12-month change of +15% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
111 in total
Latest version
4.0.0, 11 Mar 20266 months ago
First published
4 Apr 2017
Last push to GitHub
24 Sept 2026same day as the snapshot
Repository archived
No
Open issues
14
Open pull requests
24
Commits, last 52 weeks
34
Dependents on npm
-

Major versions

  1. v4 first release 4.0.0, 11 Mar 2026
  2. v3 first release 3.0.0, 6 Jul 2024
  3. v2 first release 2.0.0, 24 May 2019
  4. v1 first release 1.0.0, 8 Apr 2017
  5. v0 first release 0.0.0, 4 Apr 2017

Recent releases

VersionPublished
4.0.011 Mar 2026
3.0.13 Feb 2025
3.0.06 Jul 2024
2.2.015 May 2024
2.1.131 Aug 2023
2.1.031 Aug 2023
2.0.024 May 2019
1.1.011 Sept 2018
1.0.113 Dec 2017
1.0.08 Apr 2017
0.0.04 Apr 2017
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=22.13
Runtimes
-
Unpacked size (npm)
4.1 kB
Dependencies (1)
load-yaml-file
npm install which-pm
  • jsDelivrhttps://cdn.jsdelivr.net/npm/which-pm@4.0.0/
  • unpkghttps://unpkg.com/which-pm@4.0.0/
  • esm.shhttps://esm.sh/which-pm@4.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.