title: Run node module in browser
body: <p>I'm trying to upload and read excel file using this node module: <a href="https://www.npmjs.com/package/read-excel-file" rel="nofollow noreferrer">read-excel-file</a> and according to the instructions under <strong>Browser</strong> I need to put this code in my .js file:</p>
  
  <pre><code>import readXlsxFile from 'read-excel-file'
  
  const input = document.getElementById('input')
  
  input.addEventListener('change', () =&gt; {
    readXlsxFile(input.files[0]).then((rows) =&gt; {
      // `rows` is an array of rows
      // each row being an array of cells.
    })
  })
  </code></pre>
  
  <p>But the browser doesn't know what is <code>import readXlsxFile from 'read-excel-file'</code>. It should be noted that I'm using <code>http-server</code> to see my project at <code>http://localhost:8080/</code></p>