docs.sheetjs.com/tests/cli-boxednode.sh

19 lines
470 B
Bash
Raw Permalink Normal View History

2024-05-29 05:10:39 +00:00
#!/bin/bash
# https://docs.sheetjs.com/docs/demos/cli/boxednode
cd /tmp
rm -rf sheetjs-boxednode
mkdir sheetjs-boxednode
cd sheetjs-boxednode
curl -o pres.numbers https://docs.sheetjs.com/pres.numbers
curl -o xlsx-cli.js https://docs.sheetjs.com/cli/xlsx-cli.js
2024-07-18 22:19:02 +00:00
npm i --save https://cdn.sheetjs.com/xlsx-latest/xlsx-latest.tgz exit-on-epipe commander@2
2024-05-29 05:10:39 +00:00
## NOTE: these steps are for darwin-x64
npx boxednode@2.4.3 -s xlsx-cli.js -t xlsx-cli
./xlsx-cli pres.numbers