analyze-deps-cli
analyze-deps-cli copied to clipboard
Compare dependencies in package.json to the latest available versions.
Analyze Deps CLI
Compare dependencies in package.json to the latest available versions.
Installation
npm install -g analyze-deps-cli
Usage
Display mode (default)
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
Interactive mode
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.
Related
- analyze-deps - API for this module