dotsunited-merge-json

3.0.0 • Public • Published

dotsunited-merge-json

Simple command line utility for merging JSON files.

Installation

npm install dotsunited-merge-json -g

Usage

Merge JSON files provided as arguments:

dotsunited-merge-json file1.json file2.json > merged.json

Merge all JSON files in the current directory:

find . -name "*.json" -exec dotsunited-merge-json > ./merged.json {} \;

Pretty-print JSON with jq:

find . -name "*.json" -print0 | xargs -0 dotsunited-merge-json | jq .

License

Copyright (c) 2015-2016 Dots United GmbH. Released under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i dotsunited-merge-json

Weekly Downloads

6

Version

3.0.0

License

MIT

Last publish

Collaborators

  • bentzibentz
  • jsor