Convert a spreadsheet content to XLS.
npm install @jspreadsheet/xlsJspreadsheet, a lightweight Vanilla JavaScript plugin, can help you create exceptional web-based interactive tables and spreadsheets. Compatible with most widely-used spreadsheet softwares, it offers users an unrivalled Excel-like user experience. It also works well with prominent modern frameworks and flexibly utilizes a large collection of events, extensions and configurations to meet different application requirements. Impress your clients with a better user experience and a great dynamic interactive data management tool. The jspreadsheet extensions can be used to enhance the native capabilities.
For more information:
Jspreadsheet Pro distribution.
![]()
This plugin helps the export a XLS from a jspreadsheet worksheet.
<html>
<script src="https://jspreadsheet.com/v7/jspreadsheet.js"></script>
<link rel="stylesheet" href="https://jspreadsheet.com/v7/jspreadsheet.css" type="text/css" />
<script src="https://jsuites.net/v4/jsuites.js"></script>
<link rel="stylesheet" href="https://jsuites.net/v4/jsuites.css" type="text/css" /><script src="https://jspreadsheet.com/v7/plugins/download.js"></script>
<div id="spreadsheet"></div>
<input type='button' value='Download' onclick="jspreadsheet.download(document.getElementById('spreadsheet'));">
<script>
jexcel(document.getElementById('spreadsheet'), {
minDimension: [10,10]
});
</script>
</html>
import download from '@jspreadsheet/xls';download(document.getElementById('spreadsheet'), {
filename: 'file.xsl',
author: 'Lennon',
});