Skip to content

Leepoch/frontend-project-46

Repository files navigation

DIFFERENCE CALCULATOR

This is a project of CLI-util: calculator of differences between two files. Work with JSON, Yaml, Yml.


Hexlet tests and linter status:

Actions Status

Code Climat tests:

Test Coverage Maintainability

Test status:

.github/workflows/test.yml


System requirements

Node.js version: v17.9.0

Linux or Mac OS or WSL

How to install

  • Clone this repository
  • Run the command:
  make install
  • Run the command (you may need sudo):
  npm link

How to use

Just type in command line:

gendiff --format <'stylish', 'plain' or 'json'> <path to file1> <path to file2>

Сomparing two files JSON

asciicast

Сomparing two files JSON, yaml, yml

asciicast

GenDiff file1.json file2.json stylish

asciicast

GenDiff file1.json file2.json: 'stylish', 'plain' and 'json' formats

asciicast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published