@antfu/install-pkg
v0.5.0
Published
Install package programmatically.
Downloads
4,103,863
Readme
install-pkg
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