title: Parse Remote CSV File using Nodejs / Papa Parse?
body: <p>I am currently working on parsing a remote csv product feed from a Node app and would like to use Papa Parse to do that (as I have had success with it in the browser in the past).</p>
  
  <p>Papa Parse Github: <a href="https://github.com/mholt/PapaParse" rel="noreferrer">https://github.com/mholt/PapaParse</a></p>
  
  <p>My initial attempts and web searching haven't turned up exactly how this would be done. The Papa readme says that Papa Parse is now compatible with Node and as such Baby Parse (which used to serve some of the Node parsing functionality) has been depreciated.  </p>
  
  <p>Here's a link to the Node section of the docs for anyone stumbling on this issue in the future: <a href="https://github.com/mholt/PapaParse#papa-parse-for-node" rel="noreferrer">https://github.com/mholt/PapaParse#papa-parse-for-node</a></p>
  
  <p>From that doc paragraph it looks like Papa Parse in Node can parse a readable stream instead of a File.  My question is; </p>
  
  <blockquote>
    <p>Is there any way to utilize Readable Streams functionality to use Papa to download / parse a remote CSV in Node some what similar to how Papa in the browser uses XMLHttpRequest to accomplish that same goal?</p>
  </blockquote>
  
  <p><strong>For Future Visibility</strong>
  For those searching on the topic (and to avoid repeating a similar question) attempting to utilize the remote file parsing functionality described here: <a href="http://papaparse.com/docs#remote-files" rel="noreferrer">http://papaparse.com/docs#remote-files</a> will result in the following error in your console:</p>
  
  <p><strong><em>"Unhandled rejection ReferenceError: XMLHttpRequest is not defined"</em></strong></p>
  
  <p>I have opened an issue on the official repository and will update this Question as I learn more about the problems that need to be solved.</p>