Saad
Saad

Reputation: 53889

Creating/downloading an excel file with a chrome extension

I've been basically trying to make a chrome extension that dynamically creates an xlsx file and then downloads it. I believe I can use chrome.downloads to download the file, but I'm not sure how to dynamically create the xlsx file.

I wanted to use the exceljs module but I don't know if it only works on Node. Is there any other way to create an xlsx file with a chrome extension?

Upvotes: 2

Views: 3844

Answers (1)

Danyal Aytekin
Danyal Aytekin

Reputation: 4215

SheetJS looks like a popular client-side solution. https://github.com/SheetJS/js-xlsx

Upvotes: 1

Related Questions