Diff two versions of a node module.
$ 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.
Also works for range versions, where the last version accepted by the range will be used:
$ npm-diff intersect 0 1.0.1 | less
Page big diffs:
$ npm-diff intersect 0.0.0 0.1.0 | less
Pipe to colordiff for colored git like diffs:
$ npm-diff intersect 0.0.0 0.1.0 | colordiff | less -R
If you don't have colordiff, and want to use it (on the Linux, use sudo; in the Mac, don't use):
$ make colordiff
MIT