sheetjs/test-open.js

9 lines
238 B
JavaScript
Raw Normal View History

2015-04-15 19:07:45 +00:00
var XLSX = require('./');
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"}}}
});