node-merge-json
TypeScript icon, indicating that this package has built-in type declarations

2.2.0 • Public • Published

node-merge-json

merge json file

Usage

const mergeJson = require("node-merge-json");

mergeJson({
    dest: __dirname + "/output.json",
    deepMerge: true,
    sources: [
        __dirname + "/a.json",
        __dirname + "/b.json",
        __dirname + "/c.json"
    ]
}).then(
    mergedJson => console.log(mergedJson)
)

/node-merge-json/

    Package Sidebar

    Install

    npm i node-merge-json

    Weekly Downloads

    0

    Version

    2.2.0

    License

    MIT

    Unpacked Size

    8.79 kB

    Total Files

    6

    Last publish

    Collaborators

    • yuyicman