sheetjs-clone/bits/99_footer.js
SheetJS 8bd3c624ac split xlsx.js into multiple files
run `make` to combine the files.

Files are named in numerical order based on the relative placement
2013-10-10 02:44:18 -04:00

13 lines
370 B
JavaScript

if(typeof require !== 'undefined' && typeof exports !== 'undefined') {
exports.read = XLSX.read;
exports.readFile = XLSX.readFile;
exports.utils = utils;
exports.main = function(args) {
var zip = XLSX.read(args[0], {type:'file'});
console.log(zip.Sheets);
};
if(typeof module !== 'undefined' && require.main === module)
exports.main(process.argv.slice(2));
}