Skip to content
Advertisement

Parse XLSX with Node and create json

Ok so I found this really well documented node_module called js-xlsx

Question: How can I parse an xlsx to output json?

Here is what the excel sheet looks like:

enter image description here

In the end the json should look like this:

JavaScript

index.js:

JavaScript

Advertisement

Answer

Improved Version of “Josh Marinacci” answer , it will read beyond Z column (i.e. AA1).

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement