Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/privatenumber/i-peers
npx package to install local peer-dependencies
https://github.com/privatenumber/i-peers
install npm npm-install-peers npx peerdependencies
Last synced: 11 days ago
JSON representation
npx package to install local peer-dependencies
- Host: GitHub
- URL: https://github.com/privatenumber/i-peers
- Owner: privatenumber
- License: mit
- Created: 2018-09-06T20:07:16.000Z (about 6 years ago)
- Default Branch: develop
- Last Pushed: 2020-10-13T04:11:45.000Z (about 4 years ago)
- Last Synced: 2024-10-19T01:11:16.048Z (21 days ago)
- Topics: install, npm, npm-install-peers, npx, peerdependencies
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# i-peers [![Latest version](https://badgen.net/npm/v/i-peers)](https://npm.im/i-peers) [![Monthly downloads](https://badgen.net/npm/dm/i-peers)](https://npm.im/i-peers) [![Install size](https://packagephobia.now.sh/badge?p=i-peers)](https://packagephobia.now.sh/result?p=i-peers)
Zero-dependency CLI to install your peer-dependencies.
👉 Run it in your project directory:
```sh
npx i-peers
```## 🙋♂️ Why?
- **⚡️ Blazing fast** Has no dependencies and is optimized for npx!
- **🔥 Uses your npm** and doesn't install one!
- **🐥 Tiny** `469 B` minzipped!## ⚙️ Options
- `-a` Install all dependencies
- `-a ci` Installs all dependencies with `npm ci`## 💁♀️ FAQ
### When would I use this?
In rare instances where you have peer-dependencies that you can't declare as dev-dependencies. For example, when the peer-dependency is propietary and can only be installed behind a fire-wall (eg. private npm registry), declaring it as a dev-dependency might cause your CI to fail at `npm install`.### How is this different from [npm-install-peers](https://github.com/spatie/npm-install-peers)?
They accomplish the same task, but `i-peers` is dramatically lighter, and therefore, faster.The latest version of `npm-install-peers` vs `i-peers`