1.0.6 • Published 6 years ago
difference-greenfrontend v1.0.6
frontend-project-lvl2
Compares two configuration files and shows a difference.
Install
sudo npm i -g difference-greenfrontendUse as CLI
gendiff [options] <firstConfig> <secondConfig>Use as library
import genDiff from 'difference-greenfrontend';
const diff = genDiff(pathToFile1, pathToFile2);
console.log(diff);Example of usage with flat json files
Example of usage with flat yml files
Example of usage with flat ini files
Example of usage with recursive format
Example of usage with plane format
Example of usage with json format
Help:
gendiff -h