kostenkoslava/frontend-project-lvl2

View on GitHub
README.md

Summary

Maintainability
Test Coverage
# Difference Generator
[![hexlet-check](https://github.com/kostenkoslava/frontend-project-lvl2/workflows/hexlet-check/badge.svg)](https://github.com/kostenkoslava/frontend-project-lvl2/actions?query=workflow%3Ahexlet-check)
[![Maintainability](https://api.codeclimate.com/v1/badges/2dff5cc619f75a9a1adf/maintainability)](https://codeclimate.com/github/kostenkoslava/frontend-project-lvl2/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/2dff5cc619f75a9a1adf/test_coverage)](https://codeclimate.com/github/kostenkoslava/frontend-project-lvl2/test_coverage)
## Description
"Difference Generator" is used to compare files (.json, .yml) and generates the difference. You can use package as command-line utility or library.
## How to install
You must have last version of NodeJS before install.
1. Clone repository
```sh
git clone https://github.com/kostenkoslava/frontend-project-lvl2.git
```
2. Install npm. Use command below
```sh
make install
```
3. Now you can use package. To see help type command 
```sh 
genDiff -h 
```
[![asciicast](https://asciinema.org/a/lTKRQIve1OTIQ6EAx1Bl7i1KQ.svg)](https://asciinema.org/a/lTKRQIve1OTIQ6EAx1Bl7i1KQ)

## Comparing files with default Stylish Format
### JSON
[![asciicast](https://asciinema.org/a/Jb8YBbs9eihDMaMiRvNDqTeZW.svg)](https://asciinema.org/a/Jb8YBbs9eihDMaMiRvNDqTeZW)
### YML
[![asciicast](https://asciinema.org/a/NgvhrayTnfLX7fjYkIB7mWvFk.svg)](https://asciinema.org/a/NgvhrayTnfLX7fjYkIB7mWvFk)
## Comparing files with  Plain Format
[![asciicast](https://asciinema.org/a/laVbPaslO2UFG4iJIFxZvUpRK.svg)](https://asciinema.org/a/laVbPaslO2UFG4iJIFxZvUpRK)
## Comparing files with  Json Format
[![asciicast](https://asciinema.org/a/NgvhrayTnfLX7fjYkIB7mWvFk.svg)](https://asciinema.org/a/NgvhrayTnfLX7fjYkIB7mWvFk)