SergeiKiss/frontend-project-46

View on GitHub
README.md

Summary

Maintainability
Test Coverage
### Hexlet tests, my tests, CodeClimate tests - maintainability and test coverage:
[![Actions Status](https://github.com/SergeiKiss/frontend-project-46/workflows/hexlet-check/badge.svg)](https://github.com/SergeiKiss/frontend-project-46/actions)
[![.github/workflows/nodejs.yml](https://github.com/SergeiKiss/frontend-project-46/actions/workflows/nodejs.yml/badge.svg)](https://github.com/SergeiKiss/frontend-project-46/actions/workflows/nodejs.yml)
<a href="https://codeclimate.com/github/SergeiKiss/frontend-project-46/maintainability"><img src="https://api.codeclimate.com/v1/badges/4e3fe545976e43a59f7b/maintainability" /></a>
<a href="https://codeclimate.com/github/SergeiKiss/frontend-project-46/test_coverage"><img src="https://api.codeclimate.com/v1/badges/4e3fe545976e43a59f7b/test_coverage" /></a>

**Project description**<br>
My second Hexlet JS project in which I create a diff calculator for two files. The package supports several file extensions: json, yaml. The package also supports several output forms: stylish, plain, json. 

## Setup
```bash
make install
npm link
```
Note: *npm link* may require *sudo*

#### Run this before use
```bash
gendiff -h
```

## Examples

https://asciinema.org/a/GYG3JwYdjSWnq8Qs54l0qbH26 - package example (json)<br>
https://asciinema.org/a/e5eTZnopEKjBDUI0HnhPQtPtV - package example (json, yaml)<br>
https://asciinema.org/a/sOMfMbQ10pi9RYEq2vbul99C7 - package example (tree structures)<br>
https://asciinema.org/a/vi9WzYRsOHEsMYWUO47p2fbxn - package example (plain formatter)<br>
https://asciinema.org/a/exl8ChnmeGWEkGkseQ5xawMfm - package example (json formatter)