antfu / install-pkg

Install package programmatically.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

install-pkg

NPM version

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

ezoic increase your site revenue

About

Install package programmatically.

License:MIT License


Languages

Language:TypeScript 100.0%