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.
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.
You will need to install node
and yarn
on your local machine to run this cleaner.
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
The tests are run with
yarn test
the tests also include a linting step with the AirBnB style guide.
- Jest - The testing framework used
- Yarn - Dependency Management
- ESLint - I wouldn't know what to do without it
I use SemVer for versioning. For the versions available, see the tags on this repository.
- The scaffolding of this app comes from Verekia's excellent [js-stack-from-scratch] (https://github.com/verekia/js-stack-from-scratch)