1.2.1 • Published 5 years ago

json-addition v1.2.1

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

JSON Addition

Add two or more JSON objects/files, through command-line or programmatically.

Installation and Usage

There are two ways to install json-addition: globally and locally.

Global Installation and Usage

$ npm install -g json-addition
$ json-addition --help
$ json-addition --inputFiles="*.json" --outputFile="output.json"

Local Installation and Usage

$ npm install --save json-addition
var jsonAddition = require('json-addition');
var output = jsonAddition.addJSONs(
    { time: '11 minutes', count: { shops: 1, customers: ['a1'] } },
    { time: '22 minutes', count: { shops: 2, customers: ['b1', 'b2'] } }
);

Output:
    { time: '33 minutes', count: { shops: 3, customers: ['a1', 'b1', 'b2'] } }

Authors

See also the list of contributors who participated in this project.

License

ISC

1.2.1

5 years ago

1.2.0

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

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