dependency-diff
Generate npm install commands or objects from the diff of two package.json files
Use this module when you want to determine differences in package.json dependencies.
This module is part of MinerLabs's continuous build and deploy system.
Utilizing this module you can minimize downtime with targeted installs and uninstalls.
The best way for now to learn what the module does and expects is to look at the tests,
however here is a short write up
var DepDiff = require('dependency-diff')
var left = require('package.json')
var right = require('other_package.json');
DepDiff().left(left).right(right).toObject()
DepDiff().left(left).right(right).toCmdList()