3 ms·
I can absolutely recommend sheet.js. It opens an xlsx file in a browser and dumps the data out as json that you can chuck in to something like handsontable.js f
by onion2k 12y ago
I can absolutely recommend sheet.js. It opens an xlsx file in a browser and dumps the data out as json that you can chuck in to something like handsontable.js for the user to view or modify data, then just take the handsontable data and pass it to your backend. If you want to do automated checks you can very easily do that to the json that sheet.js outputs. It's exceptional.
There's an xsl parser too, but if you want to handle csv you'll need something like papaparse.js (which is sort of the grandparent of harb, which is the node.js csv parser sheet.js uses).