Darkensses / exceldiff

A diffing tool for xslx and csv files. Let's do some static tests

Repository from Github https://github.comDarkensses/exceldiffRepository from Github https://github.comDarkensses/exceldiff

exceldiff

This tool can help you validate and ensure that the values in an excel file or in a CSV file are as expected, by making a comparison between one file as a source of truth and another with the actual values. The comparison generates an html report that can help you visualize the differences.

alt text

How to use

Clone the repo and enter to the folder

git clone https://github.com/Darkensses/exceldiff.git
cd exceldiff

Install the dependencies

npm install

Run the tool

node index.js -e EXPECTED.xlsx -a ACTUAL.xlsx -r REPORT.html

If you want to test it first, you can execute the following command:

node index.js -e assets/MOCK_DATA.csv -a assets/MOCK_DATA_MOD.csv -r report.html

CLI Usage

node index.js -h
Usage: index.js --original [path] --compare [path] --report [path]

Options:
      --version   Show version number                                  [boolean]
  -e, --expected  Path to the original file                  [string] [required]
  -a, --actual    Path to the file to compare                [string] [required]
  -r, --report    Path to the report file                    [string] [required]
      --help      Show help                                            [boolean]

About

A diffing tool for xslx and csv files. Let's do some static tests

License:MIT License


Languages

Language:JavaScript 65.1%Language:HTML 34.9%