Compare dependencies in package.json to the latest available versions.
npm install -g analyze-deps-cli
deps
deps
simply outputs the packages which version range specified in package.json
can be updated to include only the latest version.
By default, deps
will analyze package.json
found in ./
, the directory where deps
is run. If not found, it will try ../
, then ../../
and so on.
You can also specify the package.json
location like this:
deps -p some/other/location
deps -i
If you press Enter after selecting inquirer
, then inquirer
's range in package.json
will be updated from ^1.2.1
to ^1.2.2
.
- analyze-deps - API for this module