Diff two versions of a node module
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
History.md
Makefile
README.md
npm-diff

README.md

npm-diff(1)

Diff two versions of a node module.

screenshot

Installation

$ make install

Usage

$ npm-diff
Usage: npm-diff <module> <versionA> <versionB>

npm-diff(1) outputs regular diff(1) content so it plays nice with other tooling.

Tips

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

Sponsors

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!

License

MIT