title: How to parse a CSV file on Node/Express from an Axios GET request?
body: <p>I'm doing a GET request towards a URL-endpoint that sends back a CSV-file on a Node/Express setup using axios.</p>
  <p>How do I read this file and parse it into an array with objects for each row of data? I like the examples of how &quot;neat-csv&quot; handles parsing but I'm open to suggestions.</p>
  <pre><code>const response = await axios.get(&quot;url/end/point&quot;,{ responseType: 'blob',}); 
  </code></pre>
  <p>I have no real examples of implementations so far other than the request since I have no clear view on where to begin and I can't find any good guides on the net. All guides I find involves requesting a file and then saving it to the filesystem which i don't want to. I simply want to request the file, parse it and then broadcast the data in the CSV-file through a Socket.io connection I have.</p>
  <p>Loggin <code>response.data</code> clearly gives a data output but not formatted of course. Just raw data/text.</p>
  <p>In the response there's a <code>Content-Disposition</code> parameter that reads <code>attachment; filename=name_of_file.csv</code></p>
  <p>If that helps?</p>
  <p>Cheers and thanks in advance!</p>