title: How do I format cells in workbook produced by xlsx package under Angular
body: <p><em>NB. While primarily looking for an answer relating to the xlsx package (as it seems to be vastly suggested and discussed), I fear that it might be impossible. So, I'm also open to going in another direction (as long as it's free and works for Angular/Excel).</em></p>
  
  <p>I've found <a href="https://www.npmjs.com/package/xlsx" rel="noreferrer">xlxs</a> and I'm producing Excel formatted files. I'd like to control a bit of the style so I added the property <em>s</em> to a cell as suggested <a href="https://stackoverflow.com/q/50087762/1525840">in the comments</a> (code sample <a href="https://github.com/Krishnakanth94/Xlsx-styles-working-code/blob/master/arraytosheet.html" rel="noreferrer">here</a>).</p>
  
  <pre><code>testMagic() {
    const table = document.getElementById("donkey");
    const workBook = XLSX.utils.table_to_book(table);
    workBook.Sheets.Sheet1.A1.s = { font: { bold: true } };
    XLSX.writeFile(workBook, "wonkey.xlsx");
  }
  </code></pre>
  
  <p>I see no difference in the downloaded file, though. I've googled the issue but the combo Angular and xlsx <strong>and</strong> styling isn't commonly blogged.</p>
  
  <p>I'm hoping it's something rather easy to resolve that I'm missing due to confusion and ignorance.</p>