title: node csvtojson. Where is the result?
body: <p>Great library to parse csv files!</p>
  
  <p>Quick question: where is the result json stored after parsing a csv file? The tutorial at <a href="https://www.npmjs.com/package/csvtojson#library" rel="nofollow noreferrer">https://www.npmjs.com/package/csvtojson#library</a> has this example:</p>
  
  <pre><code>const csvFilePath='&lt;path to csv file&gt;'
  
  const csv=require('csvtojson')
  csv()
  .fromFile(csvFilePath)
  .on('json',(jsonObj)=&gt;{
      // combine csv header row and csv line to a json object 
      // jsonObj.a ==&gt; 1 or 4 
  })
  .on('done',(error)=&gt;{
      console.log('end')
  })
  </code></pre>
  
  <p>But, once 'done' is called... where is my result json?!</p>
  
  <p>I've inspected the object in the debugger and can't find the result.</p>
  
  <p>Thanks in advance</p>