18 Commits (03f3c74d27c901856a2d471a3ea26201c5845818)

Author SHA1 Message Date
Onja 03f3c74d27 Refactor error handling in File class to emit download.error event and reject promise 1 year ago
Onja 6816d76fa6 Handle error when parsing file from URL in index.js 1 year ago
Onja e6e5e4a614 Refactor consoleSubscriber.js to use a log function to log event names and data 1 year ago
Onja 1a71a7c256 Add consoleSubscriber module to app.js 1 year ago
Onja b9270b2a06 Add consoleSubscriber.js file with event listener functions for various events and their corresponding actions 1 year ago
Onja ac33d20776 Remove unnecessary call to super() in the constructor of the File class 1 year ago
Onja f408226daa Refactor the File class to use a separate event emitter module for better code organization and separation of concerns 1 year ago
Onja e9a15d9834 Refactor FileService class to use event emitter module for better code organization and readability 1 year ago
Onja 7213927988 Create a new file "eventEmitter.js" in the "src/services" directory, which exports a singleton instance of the EventEmitter for the entire application 1 year ago
Onja 5648746546 Add index and count to parse.data and parse.end events in File model 1 year ago
Onja 50997abf9f Add FileService class to parse CSV data from a given URL and return a stream for download 1 year ago
Onja 6db619d3c4 Refactor the code to load the project path from the config/constants.js file and fix a bug in the parse method where it returns false instead of rejecting the promise with an error message when columns are invalid 1 year ago
Onja ca33b38dc9 Refactor the processRow method to generate a new file with the columns and return the exported row 1 year ago
Onja 997aee6cce Rename file.js to src/models/file.js 1 year ago
Onja 0f17664964 Rename File.js to file.js and make changes to the parse method to read a file and return a stream 1 year ago
Onja 7be61d264d Refactor File.js to include generating a separate filepath for the generated file 1 year ago
Onja d1052f693a Refactor File class to include download progress and error handling 1 year ago
Onja 39e38ce379 First commit 1 year ago