Skip to content

Comandeer/apm

Repository files navigation

@comandeer/apm

Build Status codecov npm

Detects the correct JS package manager and uses it.

Installation

npm install --global @comandeer/apm

Usage

Just enter the directory of your JS project and replace your package manager binary name with the apm, e.g. instead of

npm install

run

apm install

How does it work?

The apm binary detects which package manager is used in the JS project and runs it, passing all received arguments. Currently three package managers are supported:

For now, the algorithm for detecting the right package manager is:

Known limitations

  • npx, pnpx and yarn dxl are not currently supported. There's a plan to add apx binary in one of the following versions.

License

See LICENSE file for details.