title: How can I load an specific excel file using read-excel-file js?
body: <p>Here's a link: <a href="https://github.com/catamphetamine/read-excel-file" rel="nofollow noreferrer">read-excel-file</a></p>
  
  <p>I'm trying to edit read-excel-file js wherein I can automatically load the excel file (.xlsx) into my html page. But I can't find a way to edit the javascript file! Here's some part of the script below:</p>
  
  <p><code>&lt;input type="file" id="input" value=""/&gt;</code></p>
  
  <pre><code>&lt;script&gt;
    var input = document.getElementById('input')
    input.addEventListener('change', function() {
    ...
  &lt;/script&gt;
  </code></pre>
  
  <p>I want to enter the path of the file into <strong>JS script</strong> just like this instead of choosing a file:</p>
  
  <p><code>var workbook = XLSX.readFile('test.xlsx');</code></p>
  
  <p><strong>read-excel-file</strong> code</p>
  
  <pre><code>    import readXlsxFile from 'read-excel-file/node'
  
  // File path.
  readXlsxFile('/path/to/file').then((rows) =&gt; {
    // `rows` is an array of rows
    // each row being an array of cells.
  })
  
  // Readable Stream.
  readXlsxFile(fs.createReadStream('/path/to/file')).then((rows) =&gt; {
    ...
  })
  </code></pre>
  
  <p>Can anyone help me achieve this? Please thank you</p>