simple CSV file parser (not exactly parser) built with NodeJs and TypeScript which allows to cherry pick particular column data from the csv file and returns back as an object
The file upload path is not created initially as git doesn't keep track of the empty directory.
Create a function which checks for the directory and if it's not present then will generate it before running parsing operations.
If header isn't passed or invalid header is passed then it won't print anything. Instead, if no header value is passed then simply print all the available values.
Implement handler to check for the file upload. If file is not uploaded then it should not run the parsing and should give reasonable message to the console like No files found. Please upload at least one file to continue.