sheetjs-clone/tests/test-open.js

9 lines
239 B
JavaScript
Raw Normal View History

var XLSX = require('../');
2015-08-11 21:23:56 +00:00
wbin = XLSX.readFile('/tmp/wb.xlsx', {type: "xlsx"});
XLSX.writeFile(wbin, '/tmp/wb2.xlsx', {
defaultCellStyle: { font: { name: "Verdana", sz: 11, color: "FF00FF88"}, fill: {fgColor: {rgb: "FFFFAA00"}}}
});