npm-install-star

1.3.0 • Public • Published

npm-install-star

Very simple node.js utility to install the freshest versions of all the dependencies in your package.json marked as "*" or "latest", without mutating package.js. If exists, package.lock will be updated to reflect the latest versions installed.

npm i -g npm-install-star

This will create executable npmstar.

So when you run

$ npmstar

in a project with package.json like this:

{
  "dependencies": {
    "a": "*",
    "b": "^1.0.0",
    "c": "latest"
  }
}

it will run (more or less):

npm install --latest --no-save a c

That's it, super simple.

Readme

Keywords

none

Package Sidebar

Install

npm i npm-install-star

Weekly Downloads

1

Version

1.3.0

License

ISC

Unpacked Size

30.3 kB

Total Files

15

Last publish

Collaborators

  • panta82