title: Convert the an Excel generated file to PDF in React
body: <p>I want to convert the excel file into pdf. Likewise, I had previously generated the excel file with <code>excelJs</code> and save it on pc with <code>file-saver</code> plugin.</p>
  <p>Now I just want to convert that same excel file blob into the Pdf file and then save to the pdf.</p>
  <p>Here is my code snippet for saving the excel file.</p>
  <pre><code>const buf = await workbook.xlsx.writeBuffer();
  const data = new Blob([buf], { type: fileType })
  FileSaver.saveAs(data, 'User Listing Report' + fileExtension);
  </code></pre>