NodeJS – Best Practice to process a huge text file and for each row, fire off an API requests, and write an output file (See Example Below)
I am new to concept of “promises” and seeking an enterprise grade or best practice to process a huge text file (1GB max) in NodeJS and then use each row to fire off an API request. The goal is to collect some part of API response and write to a file as well as capture which API requests had an error.