1.0.8 • Published 7 years ago

join-json v1.0.8

Weekly downloads
73
License
MIT
Repository
github
Last release
7 years ago

join-json

Merges multiple JSON objects or arrays together. Can be used as node module or from command-line.

npm install join-json

Node usage

const JoinJSON = require('join-json');

const joinjson = new JoinJSON();
joinjson.join([{a: 1}]);
joinjson.join([{b: 2}]);
console.log(joinjson.join([{c: 3}]));

Command-line usage

Usage

Usage: join-retire [options]

Options:
   -i, --include   JSON file to include
   -o, --out       The combined JSON file to write.  If not specified, writes out stdout.
   -f, --force     Forces overwrite of `output` if it exists
   -h, --help      This usage

Example

join-json -i a.json -i b.json -o out.json -f

License

MIT

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago