https://github.com/jwygithub/install-pkg
Install package programmatically.
https://github.com/jwygithub/install-pkg
Last synced: 4 months ago
JSON representation
Install package programmatically.
- Host: GitHub
- URL: https://github.com/jwygithub/install-pkg
- Owner: jwyGithub
- License: mit
- Created: 2024-05-28T07:15:45.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-02T08:30:44.000Z (almost 2 years ago)
- Last Synced: 2025-10-10T01:25:34.537Z (8 months ago)
- Language: TypeScript
- Size: 115 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @jiangweiye/install-pkg
#### @jiangweiye/install-pkg
### install
#### with pnpm
```sh
pnpm add @jiangweiye/install-pkg -D
```
#### with yarn
```sh
yarn add @jiangweiye/install-pkg -D
```
#### with npm
```sh
npm install @jiangweiye/install-pkg -D
```
### use
```ts
import { installPackage } from '@jiangweiye/install-pkg';
await installPackage('vite', { silent: true });
```