{"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":"http://registry-npm.ywwl.com/which-package-manager/download/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,"size":4187,"noattachment":false,"key":"/which-package-manager/-/which-package-manager-1.0.0.tgz"},"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"},"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","publish_time":1742846820133,"_cnpm_publish_time":1742846820133,"dist-tags":{"latest":"1.0.1"}}