@antfu/install-pkg
TypeScript icon, indicating that this package has built-in type declarations

0.3.2 • Public • Published

install-pkg

NPM version

Install package programmatically. Detect package managers automatically (npm, yarn, bun and pnpm).

npm i @antfu/install-pkg
import { installPackage } from '@antfu/install-pkg'

await installPackage('vite', { silent: true })

Sponsors

License

MIT License © 2021 Anthony Fu

Readme

Keywords

none

Package Sidebar

Install

npm i @antfu/install-pkg

Weekly Downloads

388,785

Version

0.3.2

License

MIT

Unpacked Size

27 kB

Total Files

7

Last publish

Collaborators

  • antfu