0.7.0 • Published 5 years ago
gendiff-gapallex v0.7.0
hexlet project #2
gendiff
Compares two configuration files and shows a difference
How to install
npm install -g gendiff-gapallex
How to use
gendiff [option] <firstConfig> <secondConfig>
Options
Options:
-V, --version output the version number
-f, --format [type] Output format. Types: "plain", "json" or (default: "tree")
-h, --help output usage information
API
import genDiff from 'gendiff-gapallex';
genDiff(firstFilePath, secondFilePath, format);
Format: 'tree', 'plain' or 'json'