Skip to content

ernieMrtnz/csv-parser

Repository files navigation

CSV Parser

Description

The CSV Parser is built using NodeJS. It has a command line (commander) package that allows for user input.

How to run script from command line

First:

Open a Terminal and cd into the project directory

Next we need to install the node packages (babel, jest, commander). We do this with this command:

npm install

Now we can start the csv parser by running this command:

node csv-parser-cli.js -f <filename> -s <duplicateStrategy>

*** Note: Replace the <filename> with a filename that is found in /csv-files, and <duplicateStrategy> with email, phone, or both ***

Once the command is executed, the csv will begin to parse the input file located in /csv-files and then an output.csv file will be created in /output-csv directory

Run the test suite

npm run test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published