Excel-Builder-Vanilla
Documentation
📘 Documentation website powered by GitBook
Live Demo
Available Live demo which displays a rough WYSIWYG (What You See Is What You Get) idea of all available options/methods.
Installation
npm install excel-builder-vanilla
The project only offers 1 bundle type
- ESM: to
import from (preferred)
import { createWorksheet } from 'excel-builder-vanilla';
Basic Usage
import { downloadExcelFile, Workbook } from 'excel-builder-vanilla';
const originalData = [
['Artist', 'Album', 'Price'],
['Buckethead', 'Albino Slug', 8.99],
['Buckethead', 'Electric Tears', 13.99],
['Buckethead', 'Colma', 11.34],
];
const artistWorkbook = new Workbook();
const albumList = artistWorkbook.createWorksheet({ name: 'Artists' });
albumList.setData(originalData);
artistWorkbook.addWorksheet(albumList);
downloadExcelFile(artistWorkbook, 'Artist WB.xlsx');
Changelog
CHANGELOG
LICENSE
MIT License
Major Changes
version 3.0
- initial release (forked from original
excel-builder library)
version 4.0
- build as ESM-Only and drop CJS (CommonJS) build (aka
require())
version 5.0
- drop the legacy IIFE build and the use of
window object (typically used when loading as the legacy <script>).