Compare current package.json dependency version numbers with latest remote version number.
npm-dview is a command line tool for comparing a package.json file's dependency version numbers with the latest remote version number.
It compares both "dependencies" and/or "devDependencies".
It accomplishes this by calling "npm view MODULE_NAME version" for each dependency listed in your package.json file.
For a webservice version of this, visit https://david-dm.org/
Install the command line tool globally by running:
npm install -g npm-dview
Usage: npm-dview [options]
-h, --help output usage information -v, --version output the version number --dep Show regular dependencies --dev Show development dependencies --peer Show peer dependencies --update Update the package.json file with remote version numbers --file <file> The location of the package.json file
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
Version 1.0.0 - Released Aug 4, 2014
- now processing peerDependencies.
- changed cli option names.
- auto updating package.json when
--updateoption is passed.
Version 0.3.0 - Released June 2, 2014
- No longer throwing error when only devDependencies are found
Version 0.2.0 - Released May 18, 2013
- Adding hardcoded column widths
Version 0.1.1 - Released May 3, 2013
- New columns: "Local" and "Current?"
- Changed column name: "Requested Version" -> "Requested"
- Changed column name: "Remote Version" -> "Remote"
- Updating "async" version
Version 0.1.0 - Released April 13, 2013
- Initial Implementation
Add unit tests
Show progress bar/message while making remote calls
Copyright (c) 2013 skratchdot
Licensed under the MIT license.