title: Nodejs - Export Excel not downloading excelfile
body: <pre><code>  var nodeExcel = require('excel-export');
    var conf = {}
    conf.cols = [{
    caption: 'Sl.',
    type: 'number',
    width: 3
      }
    ];
    var arr = [];
    arr.push([1]);
    conf.rows = arr;
    var result = nodeExcel.execute(conf);
    res.setHeader('Content-Type', 'application/vnd.openxmlformats');
    res.setHeader("Content-Disposition", "attachment; filename=" + 
     "Report.xlsx");
    res.writeHead(200);
    res.end(result, 'binary');
  </code></pre>
  
  <p>I am using excel-export node package to download excel file in browser.</p>