sheetjs/tests/test-open.js
Pieter Sheth-Voss 0d1281cc94 Added test files
2015-08-11 17:23:56 -04:00

9 lines
238 B
JavaScript

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"}}}
});