![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | dist/ | 9 months ago | - | |
![]() | node_modules/ | 9 months ago | - | |
![]() | LICENSE | 9 months ago | 1.1K | |
![]() | README.md | 9 months ago | 669 | |
![]() | package.json | 9 months ago | 1.3K |
Install package programmatically. Detect package managers automatically (npm
, yarn
and pnpm
).
npm i @antfu/install-pkg
import { installPackage } from '@antfu/install-pkg'
await installPackage('vite', { silent: true })
MIT License © 2021 Anthony Fu