Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Diff two versions of a node module
Shell
Branch: master
Pull request Compare This branch is 2 commits ahead of juliangruber:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
History.md
README.md
npm-diff
package.json

README.md

npm-diff(1)

NPM version Dependency status devDependency Status

NPM

Diff two versions of a node module.

screenshot

Installation

npm install npm-diff

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

License

MIT

Something went wrong with that request. Please try again.