/CSV-Cleaner

A little node CLI for cleaning CSVs

Primary LanguageJavaScript

CSV cleaner

This is a little command line CSV cleaner that takes a CSV in a known format and cleans the data before printing to to stdout.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. It is not assumed you would need to deploy the project on a live system.

Prerequisites

You will need to install node and yarn on your local machine to run this cleaner.

Installing

A step by step series of examples that tell you have to get a development env running

First you will need to clone the repo here to your local computer.

git clone https://github.com/MrSnickers/CSV-Cleaner.git

navigate into the repo and install node and yarn, if they are not installed globally. Then install the dependencies for the app with:

yarn install

Then copy your CSV of interest into the sample.csv file in the data directory and clean it by running:

yarn start

Running the tests

The tests are run with

yarn test

the tests also include a linting step with the AirBnB style guide.

Built With

  • Jest - The testing framework used
  • Yarn - Dependency Management
  • ESLint - I wouldn't know what to do without it

Versioning

I use SemVer for versioning. For the versions available, see the tags on this repository.

Acknowledgments