Crear hoja de Excel en JavaScript

const XLSX = require('xlsx');

var ws = XLSX.utils.aoa_to_sheet([
  "SheetJS".split(""),
  [1,2,3,4,5,6,7],
  [2,3,4,5,6,7,8]
]);

XLSX.writeFile(ws, 'out.xlsb');
Homely Heroin