Skip to content

6footgeek/updates

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

updates

Fast npm dependency updating tool

updates is a CLI tool which checks for npm dependency updates of the current project and optionally updates package.json. It is typically able to complete in less than a second.

Install

$ npm i -g updates

Examples

Check for updates

$ updates
NAME        OLD       NEW
chalk       1.3.0     2.3.0
got         ^7.0.1    ^8.0.1
minimist    ^1.0.0    ^1.2.0

Update package.json

$ updates -u
NAME        OLD       NEW
chalk       1.3.0     2.3.0
got         ^7.0.1    ^8.0.1
minimist    ^1.0.0    ^1.2.0
package.json updated!

JSON Output

updates can output JSON. The result is always an object with the key results and depending on operation, message and error properties can also be present.

$ updates -j
{
  "results": {
    "chalk": {
      "old": "1.3.0",
      "new": "2.3.0"
    },
    "got": {
      "old": "^7.0.1",
      "new": "^8.0.1"
    },
    "minimist": {
      "old": "^1.0.0",
      "new": "^1.2.0"
    }
  }
}

© silverwind, distributed under BSD licence

About

Fast npm dependency updating tool

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 94.0%
  • Makefile 6.0%