Diff two versions of a node module.
Either preinstall using one of the methods described below, or use npx
to install/run npm-diff
on demand:
npx npm-diff
npm install npm-diff -g
Clone this repository and run:
$ make install
$ npm-diff
Usage: npm-diff <module> <versionA> <versionB>
npm-diff(1) outputs regular diff(1) content so it plays nice with other tooling.
Page big diffs:
$ npm-diff intersect 0.0.0 0.1.0 | less
If colordiff is installed, the output will be colored.
This module is proudly supported by my Sponsors!
Do you want to support modules like this to improve their quality, stability and weigh in on new features? Then please consider donating to my Patreon. Not sure how much of my modules you're using? Try feross/thanks!
MIT