You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
669 B
669 B
install-pkg
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 })
Sponsors
License
MIT License © 2021 Anthony Fu