XLSX.js is a JavaScript library for converting the data in base64 XLSX files into JavaScript objects - and back! Please note that this library is licensed under the Microsoft Office Extensible File License - a license NOT approved by the OSI. While this license is based off of the MS-PL, which is OSI-approved, there are significant differences.
I am using the npm module xlsx.js. It seems to have a dependency on 'node-zip' module. node-zip in turn uses jszip.
However node-zip also does a 'require('fs')' which makes it difficult to use in the browser without shimming of some kind.
Why can't we use the jszip module directly ? I don't see any functionality provided by node-zip. Also tools like webpack play much more nicer while using jszip directly.
I am using the npm module xlsx.js. It seems to have a dependency on 'node-zip' module. node-zip in turn uses jszip. However node-zip also does a 'require('fs')' which makes it difficult to use in the browser without shimming of some kind.
Why can't we use the jszip module directly ? I don't see any functionality provided by node-zip. Also tools like webpack play much more nicer while using jszip directly.