docs.sheetjs.com/tests/engines-execjs.sh
2025-02-16 23:49:35 -05:00

18 lines
377 B
Bash
Executable File

#!/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://docs.sheetjs.com/pres.numbers
curl -LO https://docs.sheetjs.com/execjs/ExecSheetJS.rb
ruby ExecSheetJS.rb pres.numbers; echo $?
npx -y xlsx-cli sheetjsw.xlsb