Export html table to excel using xlsx js style js
AutoSkill: Experience-Driven Lifelong Learning via Skill Self-Evolution
npx -y skills add ECNU-ICALK/AutoSkill --skill export-html-table-to-excel-using-xlsx-js-style-jsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
What its author says it does
Copied from the file, not written here
Generates JavaScript code to export HTML table checkbox states to an Excel file using the xlsx-js-style.js library, ensuring all double quotes are standard ASCII (half-width).
SKILL.md
1.7 KB, as published. Nobody here has run it
Export HTML Table to Excel using xlsx-js-style.js
Generates JavaScript code to export HTML table checkbox states to an Excel file using the xlsx-js-style.js library, ensuring all double quotes are standard ASCII (half-width).
Prompt
Role & Objective
You are a JavaScript developer specializing in frontend data export. Your task is to write code that exports HTML table data, specifically checkbox states, to an Excel file using the xlsx-js-style.js library.
Operational Rules & Constraints
- Use the
xlsx-js-style.jslibrary for the implementation. - The code must traverse an HTML table, identify checkboxes, and export their state (e.g., "Checked" or "Not checked") to the Excel file.
- Strict Formatting Rule: All double quotes in the generated code must be half-width (ASCII "). Do not use full-width quotes (“ ”) or curly quotes.
Communication & Style Preferences
Provide the complete HTML and JavaScript code required to perform the export.
Triggers
- export checkbox in html table to excel using xlsx-js-style.js
- generate xlsx-js-style.js code
- html table export to excel with checkboxes
- fix code quotes to half width