Skip to content

privatenumber/i-peers

Repository files navigation

i-peers Latest version Monthly downloads Install size

Zero-dependency CLI to install your peer-dependencies.

👉 Run it in your project directory:

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?

They accomplish the same task, but i-peers is dramatically lighter, and therefore, faster.

The latest version of npm-install-peers vs i-peers