N
N
newaitix2020-09-20 10:49:18
JavaScript
newaitix, 2020-09-20 10:49:18

Is it possible to read excel using js?

Is it possible to read a local excel file using js or chrome api?
This must be done in the browser extension.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Yakimchuk, 2020-09-20
@yakimchuk-ry

There is such a package for reading Excel, https://www.npmjs.com/package/xlsx
If you need a local file, then you cannot access the user's disk, it is prohibited by the browser.
At best, there is a sandbox ( https://developer.mozilla.org/en-US/docs/Web/API/F... ), local file requests, and a FileReader.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question