JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1742289
  • Score
    100M100P100Q212536F
  • License MIT

Install package programmatically.

Package Exports

  • @antfu/install-pkg

Readme

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