Merge dependencies and their versions
JavaScript
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.editorconfig
.gitignore
.jshintrc
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

dependencies-diff NPM version Build Status Dependency Status

Merge dependencies and their versions

This module will parse versions in dependencies property of package.json (or bower.json) and tell how much differs they are.

API

dependencies-diff(current, fresh)

Returns difference between current and fresh objects.

Example

var dd = require('dependencies-diff');

dd({
    express: '3.4.1'
}, {
    express: '4.3.1'
});

/* Returns: 
{ 
    express: {
        major: 1,
        minor: -1,
        patch: 0
    }
}
*/

License

MIT (c) 2013 Vsevolod Strukchinsky (floatdrop@gmail.com)