0.6.0 • Published 4 years ago

save-install v0.6.0

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

Why save-install?

save-install is a simple package that installs other packages without side installations.

Example

package.json

{
    ...,
    "devDependencies": {
        "nyc": ...
    }
}

You want to install, for example, cowsay, but if you do it nyc package will also be installed locally. But nyc is utility and you want to store it globally. Actually, NPM does not have tools to ignore global packages installation.

This package will solve this problem. Just run:

npx save-install cowsay

How it works?

This utility just removes global packages from your package.json and remembers it. Then save-install executes normal npm i and passes all its arguments to npm. Then remembered packages shall be restored in package.json.

Global packages are founding in global storage (npm config get prefix) and only they shall be removed and restored later.

Usage

npx save-install <...>

<...> shall be replaced to normal npm i args.

0.6.0

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago