Create an .xlsx file in a browser

Conditionally loading mini SheetJS module

However you present data in your web application, some users will want to export the data so that they can manipulate it with their preferred tools such as Excel or R.

Excel supports several file formats. Users would be happy with any file type as long as the exported data can be opened in Excel in one click. If users want to preserve the…