Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 1.59 KB

README.md

File metadata and controls

52 lines (32 loc) · 1.59 KB

Build Status Coverage Status bitHound Overall Score npm Version

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

display mode

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

interactive mode

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

License

MIT