npm-check-global-updates
Find newer versions of global npm packages.
Supports command line and programmatic usage.
Available for macOS, Windows and Linux.
Contents
Commandline Usage
Installation
$ npm install --global npm-check-global-updates
Usage
$ npm-check-global-updates
Show all Options
$ npm-check-global-updates --help
Example
$ npm-check-global-updates>> browserify@14.4.0 express@4.15.3
Programmatic Usage
Installation
$ npm install npm-check-global-updates
API
The module returns a Function
which returns a Promise
.
const checkGlobalUpdates =
The Promise
resolves with an Array
:
- Array - Package list (name@version)
Example
const checkGlobalUpdates =
Platform Support
Tested on:
- macOS Sierra
- Windows 10 Anniversary
- Ubuntu 17.10
Roadmap
- CI-based automated Testing
Contribute
Read the contribution documentation first.
Author
sidneys 2017