Skip to content

ikdi/backend-project-lvl2

Repository files navigation

'Difference calculator' Hexlet project

Actions Status Node CI Maintainability Test Coverage

Description

Compares two configuration files and shows a difference
Input formats: json and yaml
Output formats: stylish, plain, json

Installation and Usage

Can be used as command line utility or npm package
You can install a package globally

$ npm install -g https://github.com/kdi-course/backend-project-lvl2

or locally

$ npm install https://github.com/kdi-course/backend-project-lvl2

After that, you can use it as CLI utility

  • $ gendiff -h

or as npm module

// your js file
import genDiff from '@hexlet/code';

const diff = genDiff(filepath1, filepath2);
console.log(diff);

In development mode you should use make utility:

$ git clone https://github.com/kdi-course/backend-project-lvl2
$ cd backend-project-lvl2
$ make setup // install dependencies and package
$ make lint  // eslint check
$ make test  // run tests

Creation progress demo

step 3
step 3
step 5
step 5
step6
step 6
step7
step 7
step 8
step 8

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published