Skip to content

sen98ia/gendiff

Repository files navigation

Actions Status Maintainability Lint-and-test Status Test Coverage

🔍Gendiff

Build with: JavaScript, Jest, ESLint, npm, lodash, commander.

Description

Gendiff or difference generator is a tool to compare two data structures.

Features

  • Supports different input formats: yml, yaml, json.
  • Generates reports in the form of plain text, stylish and json.

Requirements

Node.js v13.2.0 or higher.

Setup

git clone [email protected]:sen98ia/frontend-project-46.git
cd frontend-project-44
npm install

Usage and report demonstration

Use gendiff -h to see usage information.

Stylish

gendiff filepath1.json filepath2.json or gendiff --format stylish filepath1.json filepath2.json

asciicast

Plain

gendiff --format plain filepath1.json filepath2.json

asciicast

JSON

gendiff --format json filepath1.json filepath2.json

asciicast

About

Tool for comparing two data structures that generates a difference tree in various formats

Resources

Stars

Watchers

Forks

Packages

No packages published