{"_id":"which-package-manager","_rev":"3-f4448d7193d247b793a486771ce18139","name":"which-package-manager","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.1":{"name":"which-package-manager","version":"0.0.1","keywords":["pm","package-manager","yarn","npm","pnpm","lockfile","package-lock.json","yarn.lock"],"_id":"which-package-manager@0.0.1","maintainers":[{"name":"mshima","email":"marceloshima@gmail.com"}],"dist":{"shasum":"90cd7da6bdc5944a897f4e418ab6659b27299efd","tarball":"https://registry.npmjs.org/which-package-manager/-/which-package-manager-0.0.1.tgz","fileCount":5,"integrity":"sha512-a+bCExXd8OdYky5J59nimHxTCRPhxZSQtwKh3Ew6lpC4oY9f3KH77XDxcPrComVhSEPtvMjZigS2vZgZfgJuxA==","signatures":[{"sig":"MEUCIGQLPAkjeAqgY5D0pRliZI6+QqIQrqkhh0dlga0H6uQYAiEAxuIF74qAemJnw3rTsADDq7Uubzvn5k/bkyrVawLAOz0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12702},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":"^16.13.0 || >=18.12.0"},"gitHead":"71d31cf7fe5636d2cd13b19d9eb057df266a7153","scripts":{"test":"vitest run --coverage","build":"tsc","prepare":"npm run build","prebuild":"rimraf dist"},"_npmUser":{"name":"mshima","email":"marceloshima@gmail.com"},"_npmVersion":"9.6.6","description":"## Usage","directories":{},"_nodeVersion":"18.16.0","dependencies":{"execa":"^7.1.1","find-up":"^6.3.0","micromatch":"^4.0.5"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.54.2","rimraf":"^5.0.0","vitest":"^0.32.2","cpy-cli":"^4.2.0","type-fest":"^3.12.0","typescript":"^5.0.4","@types/node":"^18.16.3","yeoman-test":"^8.0.0-rc.1","@types/micromatch":"^4.0.2","@vitest/coverage-v8":"^0.32.2","prettier-plugin-packagejson":"^2.4.3"},"_npmOperationalInternal":{"tmp":"tmp/which-package-manager_0.0.1_1687205087477_0.6669927574327466","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"which-package-manager","version":"1.0.0","keywords":["pm","package-manager","yarn","npm","pnpm","lockfile","package-lock.json","yarn.lock"],"_id":"which-package-manager@1.0.0","maintainers":[{"name":"mshima","email":"marceloshima@gmail.com"}],"dist":{"shasum":"c2ea0bde9cfd8e89f517c2ec01ed3abf1f05fc36","tarball":"https://registry.npmjs.org/which-package-manager/-/which-package-manager-1.0.0.tgz","fileCount":5,"integrity":"sha512-GLQIpxlF7AFUeOI3y8BICW+Pa9daqAjXipD0RyHLHYPPZPDF1M1hrVhg19u8IgaCpRc+XtQhoAY1XxLomXAeCw==","signatures":[{"sig":"MEQCIFusuTApApASe/jx31A1CO4eK4ef7B1rlQZ2Gtx5fl6HAiBdArZKZZBmixdn3qV5QhZ0x86CulUoy2XKY/Ai5g9c2w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15283},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"gitHead":"2d5884fbe4bbe744dad2ecd3f3fcbdda33805bec","scripts":{"test":"vitest run --coverage","build":"tsc","prepare":"npm run build","pretest":"xo --check && prettier . --check","prebuild":"rimraf dist"},"_npmUser":{"name":"mshima","email":"marceloshima@gmail.com"},"_npmVersion":"10.9.2","description":"Detects the current package manager. Rules applied in order:","directories":{},"_nodeVersion":"20.19.0","dependencies":{"find-up":"^7.0.0","micromatch":"^4.0.8"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.60.0","rimraf":"^6.0.1","vitest":"^3.0.9","cpy-cli":"^5.0.0","type-fest":"^4.38.0","typescript":"^5.8.2","@types/node":"^18.16.3","yeoman-test":"^10.1.0","@types/micromatch":"^4.0.9","@vitest/coverage-v8":"^3.0.9","prettier-plugin-packagejson":"^2.5.10"},"_npmOperationalInternal":{"tmp":"tmp/which-package-manager_1.0.0_1742846819952_0.25866335994917744","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"which-package-manager","version":"1.0.1","repository":{"type":"git","url":"git+https://github.com/mshima/which-package-manager.git"},"description":"Detect which package manager is used in the current project","license":"MIT","keywords":["pm","package-manager","yarn","npm","pnpm","lockfile","package-lock.json","yarn.lock"],"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"prebuild":"rimraf dist","build":"tsc","prepare":"npm run build","pretest":"xo --check && prettier . --check","test":"vitest run --coverage"},"dependencies":{"find-up":"^7.0.0","micromatch":"^4.0.8"},"devDependencies":{"@types/micromatch":"^4.0.9","@types/node":"^18.16.3","@vitest/coverage-v8":"^3.0.9","cpy-cli":"^5.0.0","prettier-plugin-packagejson":"^2.5.10","rimraf":"^6.0.1","type-fest":"^4.38.0","typescript":"^5.8.2","vitest":"^3.0.9","xo":"^0.60.0","yeoman-test":"^10.1.0"},"engines":{"node":">=18"},"_id":"which-package-manager@1.0.1","gitHead":"b94fca5d72f8493a866d2586356f16f912130412","bugs":{"url":"https://github.com/mshima/which-package-manager/issues"},"homepage":"https://github.com/mshima/which-package-manager#readme","_nodeVersion":"20.19.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-Nse2rVsL302dkEhCyyS1U3iEQ9FRYPPkWJNk188xUVkKIGXjMmDPlA3L1VettE+T2z7SGLsJiDaZw//8CHUQwQ==","shasum":"69d934142db2179b6d16881690ff7c4f1f9edf75","tarball":"https://registry.npmjs.org/which-package-manager/-/which-package-manager-1.0.1.tgz","fileCount":5,"unpackedSize":15431,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDLNsP1xMg8R+dIKt/pC3fuokckUriBhCltUKGwDF4caAIgIIYv8w3SJQ6rW30TSxKsOgIiEqSrxYC9DRHnCyE6t1Y="}]},"_npmUser":{"name":"mshima","email":"marceloshima@gmail.com"},"directories":{},"maintainers":[{"name":"mshima","email":"marceloshima@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/which-package-manager_1.0.1_1742865280036_0.4151743277273541"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-19T20:04:47.476Z","modified":"2025-03-25T01:14:40.440Z","0.0.1":"2023-06-19T20:04:47.704Z","1.0.0":"2025-03-24T20:07:00.133Z","1.0.1":"2025-03-25T01:14:40.267Z"},"keywords":["pm","package-manager","yarn","npm","pnpm","lockfile","package-lock.json","yarn.lock"],"description":"Detect which package manager is used in the current project","maintainers":[{"name":"mshima","email":"marceloshima@gmail.com"}],"readme":"# which-package-manager\n\nDetects the current package manager. Rules applied in order:\n\n- Lock file existence.\n- `package.json` structure compatibility.\n- `packageManager` field.\n- First compatible passed preferred package manager.\n\n## Usage\n\n```sh\nnpm install which-package-manager\n```\n\n```js\nimport { whichPackageManager } from 'which-package-manager';\n\nconst packageManager = await whichPackageManager();\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","homepage":"https://github.com/mshima/which-package-manager#readme","repository":{"type":"git","url":"git+https://github.com/mshima/which-package-manager.git"},"bugs":{"url":"https://github.com/mshima/which-package-manager/issues"},"license":"MIT"}