Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 556 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 556 Bytes

jsonmerge v

Install

# with cli
$ npm install -g jsonmerge

# dependency in your project
$ npm install --save jsonmerge

Usage

API

const jsonmerge = require('jsonmerge')

let result = jsonmerge(['./test/fixtures/json/*.json'])
console.log(JSON.stringify(result, null, 4))

CLI

$ cd test/fixtures
$ jsonmerge json/*.json > result.json

License

Apache v2.0 © Jayin Ton