node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

sheslime

Sheslime Build Status

sheslime merge different jsons.

image

Usage Commandline

$ npm install sheslime -g
$ sheslime old/bower.json new/bower.json

Usage Programmable

var sheslime = require("sheslime");
 
var packageJson1 = {
  "name": "json5x",
  "dependencies": {
    "socket.io": "~0.2.0",
    "json5": "~0.2.0"
  },
  "devDependencies": {
    "jsx": "~0.9.83"
  }
};
var packageJson2 = {
  "name": "json5x",
  "dependencies": {
    "json5": "latest"
  },
  "devDependencies": {
    "jsx": "~0.9.71"
  }
};
 
/*
{
  "name": "json5x",
  "dependencies": {
    "socket.io": "~0.2.0",
    "json5": "latest"
  },
  "devDependencies": {
    "jsx": "~0.9.83"
  }
}
*/
var slime = sheslime(packageJson1, packageJson2);