title: Get First Column of CSV file javascript
body: <p>Have tried PapaParse without success, how would one get the first column value of a CSV file?</p>
  
  <pre><code>const csv = require('csv-parser');
  const fs = require('fs');
  
  
  (async () =&gt; {
      try {
  
          fs.createReadStream('test.csv')
              .pipe(csv())
              .on('data', (row) =&gt; {
                  console.log(row);
              })
              .on('end', () =&gt; {
                  console.log('CSV file successfully processed');
  
              });
  
      } catch (err) {
          console.log(error(err));
          await browser.close();
          console.log(error("Browser Closed"));
      }
  })();
  </code></pre>