Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 676 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 676 Bytes

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