deepmerge-cli

A CLI wrap for deepmerge package used for shell scripting

Usage no npm install needed!

<script type="module">
  import deepmergeCli from 'https://cdn.skypack.dev/deepmerge-cli';
</script>

README

Introduction

A self needed shell utility to merge 2 or more JSON configuration files with deep merge.

Used for dotnet core project to merge defautl appsettings.json with appsettings.[env].json and later convert it to key-value pairs for az cli to update.

Usage

Being lazy enough to use one off run with npx as below

npx deepmerge-cli file1 file2