# @byungi/npi

> npm pack and install a remote package

Latest version **0.1.1** (published 2022-03-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install @byungi/npi
pnpm add @byungi/npi
yarn add @byungi/npi
bun add @byungi/npi
```

Provides the command `npi`.

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2022-03-13 |
| First published | 2022-03-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | ^12.20.0 \|\| ^14.13.1 \|\| >=16.0.0 |
| Dependencies | 5 |
| Unpacked size | 5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | byungi <tiniwz@gmail.com> |
| Maintainers | skt-t1-byungi |
| Keywords | npm, pack, install, package, install, tarball |

## Links

- npm: https://www.npmjs.com/package/@byungi/npi
- Repository: https://github.com/skt-t1-byungi/npi.git
- Homepage: https://github.com/skt-t1-byungi/npi
- npm.io page: https://npm.io/package/@byungi/npi

## Dependencies (5)

- [ora](https://npm.io/package/ora.md) ^6.1.0
- [sade](https://npm.io/package/sade.md) ^1.8.1
- [execa](https://npm.io/package/execa.md) ^6.1.0
- [libnpmpack](https://npm.io/package/libnpmpack.md) ^4.0.0
- [detect-package-manager](https://npm.io/package/detect-package-manager.md) ^2.0.1

## Alternatives

- [lodash.startswith](https://npm.io/package/lodash.startswith.md) — 769.7K weekly downloads
- [@tarojs/service](https://npm.io/package/@tarojs/service.md) — 33.9K weekly downloads
- [io.extendreality.tilia.indicators.spatialtargets.unity](https://npm.io/package/io.extendreality.tilia.indicators.spatialtargets.unity.md) — 131 weekly downloads
- [@rtarojs/taro](https://npm.io/package/@rtarojs/taro.md) — 90 weekly downloads
- [node-branch-io](https://npm.io/package/node-branch-io.md) — 50 weekly downloads

## Recent versions

- 0.1.1 (latest) — 2022-03-13
- 0.1.0 — 2022-03-13
- 0.0.4 — 2022-03-07
- 0.0.3 — 2022-03-07
- 0.0.2 — 2022-03-07
- 0.0.1 — 2022-03-07

## README

# @byungi/npi

> npm pack and install a remote package

[![badge](https://badgen.net/npm/v/@byungi/npi)](https://npm.im/@byungi/npi)

Sometimes, some packages can't be installed on CI/CD. Installing these packages as a tarball file can be an alternative. `npi` reduces the repetition of pack and install commands.

## Usage

```sh
# global install
npm i @byungi/npi -g

# run script
npi react@^17 react-dom@^17
```

## CLI

```
  Description
    npm pack and install a remote package.

  Usage
    $ npi <package> [options]

  Options
    -i, --installer    Package manager for install. (npm, yarn, pnpm)
    -d, --dir          Directory to download.  (default vendors)
    -D, --dev          Install to devDependencies.
    -P, --peer         Install to peerDependencies.
    -O, --optional     Install to optionalDependencies.
    -v, --version      Displays current version
    -h, --help         Displays this message

  Examples
    $ npi react@^17 react-dom@^17
    $ npi jest webpack --dev --installer yarn
```

## License

MIT

---
_Source: https://npm.io/package/@byungi/npi · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
