S
S
Shurik2020-05-26 03:06:54
JavaScript
Shurik, 2020-05-26 03:06:54

How to parse xls file in JavaScript to json or xml?

Greetings!
There is a task in the input to load the xls file and then parse it line by line. I read similar questions, but it did not lead to anything.
I tried to make SheetJs this library , but as far as I understand, it is necessary to run the whole thing in node js, and the examples are not very clear.
There is an example on the page of this library here , which basically converts xls to json, but I couldn’t run it locally to change it for myself ((
Please tell me which way to go, maybe there are some working examples already.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
A person from Kazakhstan, 2020-05-26
@svisch

The console.log outputs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question