Created
April 25, 2023 15:50
-
-
Save Ephellon/2abf245a3ae901a852f96b19a7358f1d to your computer and use it in GitHub Desktop.
Morning Report - Helpers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://codepedia.info/javascript-export-html-table-data-to-excel | |
// @requires: https://unpkg.com/xlsx@0.15.1/dist/xlsx.full.min.js | |
let workbook = XLSX.utils.table_to_book(table, { sheet: '<Sheet Name>' }); | |
XLSX.writeFile(workbook, '<Sheet Name>.xlsx'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment