Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yosuke-furukawa/sheslime
sheslime merges two json
https://github.com/yosuke-furukawa/sheslime
Last synced: about 1 month ago
JSON representation
sheslime merges two json
- Host: GitHub
- URL: https://github.com/yosuke-furukawa/sheslime
- Owner: yosuke-furukawa
- Created: 2014-05-20T08:15:49.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T02:20:09.000Z (11 months ago)
- Last Synced: 2024-10-02T14:05:28.687Z (about 1 month ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Sheslime [![Build Status](https://travis-ci.org/yosuke-furukawa/sheslime.svg?branch=v0.1.0)](https://travis-ci.org/yosuke-furukawa/sheslime)
==============sheslime merge different jsons.
![image](http://www.suruga-ya.jp/database/pics/game/601037290.jpg)
Usage Commandline
==============```sh
$ npm install sheslime -g
``````sh
$ sheslime old/bower.json new/bower.json
```Usage Programmable
=============```javascript
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);```