0.7.1 • Published 6 years ago

gendiff-lozovsky v0.7.1

Weekly downloads
6
License
ISC
Repository
github
Last release
6 years ago

Gendiff

Maintainability Build Status

Compares two configuration files and shows a difference

Supported config formats: .json, .yml, .ini Output formats: plain text, tree, json

Install

npm install -g gendiff-lozovsky

Usage

gendiff [options] <firstConfig> <secondConfig>

Options

-V, --version        output the version number
-f, --format [type]  output format
-h, --help           output usage information

You can use it in your code

import gendiff from 'gendiff-lozovsky';

const diff = gendiff('./firstConfig.yml', './firstConfig.yml', 'json');