title: CSV to JSON using file upload
body: <p>I want to covert CSV file to JSON Array object using file upload.</p>
  
  <p>i have tried multer,</p>
  
  <pre><code>module.exports = function(express, app, upload){
      var router = express.Router();
      var util = require('util');
  
      router.get('/',function(req,res){
          res.send(200);
      });
      router.post('/csv', upload,function(req,res){
          //How to get file contents ?
          res.send('/dashboard');
      });
      app.use('/upload',router);
  };
  </code></pre>
  
  <p>where upload is,</p>
  
  <pre><code>var upload = multer({ storage: storage }).single('csvfile');
  </code></pre>