/dedup

Primary LanguageJavaScript

Dedup

Description

Removes duplicates based on provided rules.

Prerequisites

  1. Node 8.x
  2. NPM

Local Deployment

npm install

Deduplicate a .json file

Pass file name in command line

  • Two files are generated in the output_files directory (with and without logs)
  • Logs contain all field change data
node dedup.js input.json

Pass multiple file names in command line

  • Output files will have the names input and input2
  • Timestamps are appended to each file name
node dedup.js input.json input2.json

Running Tests

jasmine