#!/bin/bash
# https://docs.sheetjs.com/docs/demos/engines/rb
cd /tmp
rm -rf sheetjs-rb
mkdir -p sheetjs-rb
cd sheetjs-rb
curl -LO https://cdn.sheetjs.com/xlsx-latest/package/dist/xlsx.full.min.js
curl -LO https://sheetjs.com/pres.numbers
curl -LO https://docs.sheetjs.com/execjs/ExecSheetJS.rb
ruby ExecSheetJS.rb pres.numbers; echo $?