You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
importScripts('//unpkg.com/xlsx/dist/xlsx.full.min.js');
|
|
postMessage({t:'ready'});
|
|
onmessage = function(evt) {
|
|
var v;
|
|
try { v = XLSX.read(evt.data.d, evt.data.b); }
|
|
catch(e) { postMessage({t:"e",d:e.stack}); }
|
|
postMessage({t:evt.data.t, d:JSON.stringify(v)});
|
|
}
|