Skip to content

Compares two configuration files and shows a difference

Notifications You must be signed in to change notification settings

alexander-lozovsky/gendiff

Repository files navigation

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');

About

Compares two configuration files and shows a difference

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published