@worksheet-js/excel
v1.6.2
Published
Fast and robust Excel I/O engine for importing and exporting XLSX, CSV, and JSON data.
Readme
@worksheet-js/excel
High-performance spreadsheet I/O for XLSX, CSV, JSON, and HTML.
Install
npm install @worksheet-js/excelQuick start
import { WorkbookLoader } from '@worksheet-js/excel';
const buffer = new Uint8Array(await file.arrayBuffer());
const { result, meta } = await WorkbookLoader.loadFromBuffer(buffer);
console.log(result.workbook.sheets.map((s) => s.name));
console.log('Suggested dimensions:', meta[0]?.minDimensions);CSV, JSON, HTML loaders, export API, and the full parsed data shape on worksheetjs.com.
License
Proprietary. Usage is subject to the EULA.
