@antfu/install-pkg
Install package programmatically.
@antfu/install-pkg@2.1.0 was published on 2026-09-15. Its manifest declares 2 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All @antfu/install-pkg versions · Permanent reference to 2.1.0
Package specifications
| Version | 2.1.0 |
|---|---|
| License declaration | MIT |
| Published | 2026-09-15T01:58:39.182Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 2 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 6.44 KiB |
| Published file count | 5 |
| Package type | module |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | 2 |
| Repository stars | 206 |
| Repository forks | 25 |
Install @antfu/install-pkg 2.1.0
npm install @antfu/install-pkg@2.1.0 pnpm add @antfu/install-pkg@2.1.0 yarn add @antfu/install-pkg@2.1.0
Runtime dependencies
- tinyexec ^1.3.1
- package-manager-detector ^1.8.0
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- package-manager-detector@1.9.0 — direct
- tinyexec@1.3.1 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
Evidence and freshness
- https://registry.npmjs.org/%40antfu%2Finstall-pkg/2.1.0 — retrieved 2026-10-29T13:22:11.801Z
- https://api.deps.dev/v3/systems/npm/packages/%40antfu%2Finstall-pkg/versions/2.1.0 — retrieved 2026-10-29T13:22:12.312Z
- https://api.deps.dev/v3/systems/npm/packages/%40antfu%2Finstall-pkg/versions/2.1.0:dependencies — retrieved 2026-10-29T13:22:12.351Z
- https://api.deps.dev/v3/projects/github.com%2Fantfu-collective%2Finstall-pkg — retrieved 2026-10-29T13:22:12.472Z