title: Using ExcelJS, how to read data from excel file using URL?
body: <p>I have excel file upload in cloud. Using node js when front end pass URL i need to read data from excel file. Below is my code,</p>
  <pre><code>  var workbook = new ExcelJS.Workbook(); 
    workbook.xlsx.load('https://file-examples.com/wp-content/uploads/2017/02/file_example_XLSX_10.xlsx')
      .then(function() {
          var worksheet = workbook.getWorksheet(sheet);
          worksheet.eachRow({ includeEmpty: true }, function(row, rowNumber) {
            console.log(&quot;Row &quot; + rowNumber + &quot; = &quot; + JSON.stringify(row.values));
          });
      });
  </code></pre>
  <p>But I'm getting this error,</p>
  <p><strong>Can't find end of central directory : is this a zip file ? If it is, see <a href="https://stuk.github.io/jszip/documentation/howto/read_zip.html" rel="nofollow noreferrer">https://stuk.github.io/jszip/documentation/howto/read_zip.html</a></strong></p>
  <p>Can someone help me to fix this?</p>