calculator-differences

Search the differences in the configuration files and the create of patches

Usage no npm install needed!

<script type="module">
  import calculatorDifferences from 'https://cdn.skypack.dev/calculator-differences';
</script>

README

Calculator differences

Code Climate Test Coverage Issue Count Build Status

Install

$ npm install -g calculator-differences

Usage

$ gendiff --help

  Usage: gendiff [options] <first_config> <second_config>

  Compares two configuration files and shows a difference.

  Options:

    -h, --help           output usage information
    -V, --version        output the version number
    -f, --format [type]  Output format
import diff from 'calculator-differences';

const differences = diff('../old.json', '../new.ini', 'pretty');

Formats: pretty, plain, json