sheetjs-clone/demos/systemjs/test.node.js
2017-09-24 19:40:09 -04:00

20 lines
489 B
JavaScript

/* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
var SystemJS = require('systemjs');
SystemJS.config({
meta: {
'../../xlsx.js': { format: 'global' },
'../../dist/xlsx.core.min.js': { format: 'global' },
'../../dist/xlsx.full.min.js': { format: 'global' },
},
paths: {
'npm:': '/usr/local/lib/node_modules/'
},
map: {
'xlsx': 'npm:xlsx/xlsx.js',
'fs': '@node/fs',
'crypto': '@node/crypto',
'stream': '@node/stream'
}
});
SystemJS.import('./app.node.js');