{"_id":"@antfu/install-pkg@2.1.0","bugs":{"url":"https://github.com/antfu-collective/install-pkg/issues"},"dist":{"shasum":"0e227e9161f8c9821b1a8944ff26366be929a519","tarball":"http://registry-npm.ywwl.com/@antfu/install-pkg/download/@antfu/install-pkg-2.1.0.tgz","fileCount":5,"integrity":"sha512-sdg9NxU3zR4Mnawfbc/x6GB5Wf17WYud5qOuEuxXjaKpYpMkISSJEjItGebXJ2bQ4DIcly4NYH23mtkGJjvKUw==","signatures":[{"sig":"MEQCIBhWg3aQWqOdJmFz5Zp0jXHO57wjmDyJUEguKTWANQr8AiBL7c23xLkDEh1t1TwlgrtZe9RnbZVx43PACGTPrst9/w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDMh8T4Bkfei6zPOtGLueT4qoo/UFTXqNlvCpMNuVlRfwIhANvhmo2rv+RjjZHRr/1NhlbWPzq1D0geV9DJRKPNlxJX"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@antfu%2finstall-pkg@2.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":6598,"size":2837,"noattachment":false,"key":"/@antfu/install-pkg/-/@antfu/install-pkg-2.1.0.tgz"},"name":"@antfu/install-pkg","type":"module","types":"./dist/index.d.mts","author":"Anthony Fu <anthonyfu117@hotmail.com>","exports":{".":"./dist/index.mjs","./package.json":"./package.json"},"funding":"https://github.com/sponsors/antfu","license":"MIT","scripts":{"dev":"tsdown --watch","lint":"eslint .","build":"tsdown","start":"tsx src/index.ts","release":"bumpp","typecheck":"tsc"},"version":"2.1.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e6f8363c-5050-492d-b3f7-615d2be0c33c"}},"homepage":"https://github.com/antfu-collective/install-pkg#readme","repository":{"url":"git+https://github.com/antfu-collective/install-pkg.git","type":"git"},"description":"Install package programmatically.","directories":{},"maintainers":[{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"sideEffects":false,"dependencies":{"tinyexec":"^1.3.1","package-manager-detector":"^1.8.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.13","bumpp":"^12.3.0","eslint":"^10.10.0","tsdown":"^0.23.0","publint":"^0.3.24","@antfu/ni":"^30.5.0","typescript":"^6.0.3","@types/node":"^26.5.1","@antfu/eslint-config":"^9.5.1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/install-pkg_2.1.0_1789437519106_0.9566151266562146"},"readme":"# install-pkg\n\n[![NPM version](https://img.shields.io/npm/v/@antfu/install-pkg?color=a1b858&label=)](https://www.npmjs.com/package/@antfu/install-pkg)\n\nInstall package programmatically. Detect package managers automatically (`npm`, `yarn`, `bun` and `pnpm`).\n\n```bash\nnpm i @antfu/install-pkg\n```\n\n```ts\nimport { installPackage } from '@antfu/install-pkg'\n\nawait installPackage('vite', { silent: true })\n```\n\n## Sponsors\n\n<p align=\"center\">\n  <a href=\"https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg\">\n    <img src='https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg' alt=\"Sponsors\"/>\n  </a>\n</p>\n\n## License\n\n[MIT](./LICENSE) License © 2021 [Anthony Fu](https://github.com/antfu)\n","publish_time":1789437519182,"_cnpm_publish_time":1789437519182,"dist-tags":{"latest":"2.1.0"}}