Skip to content

dotsunited/merge-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Simple command line utility for merging json files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published