docs.sheetjs.com/tests/bigdata-stream-bun.sh
2024-07-18 18:19:02 -04:00

18 lines
367 B
Bash
Executable File

#!/bin/bash
# https://docs.sheetjs.com/docs/demos/bigdata/stream#nodejs
cd /tmp
rm -rf sheetjs-stream
mkdir sheetjs-stream
cd sheetjs-stream
bun i xlsx@https://cdn.sheetjs.com/xlsx-latest/xlsx-latest.tgz
curl -LO https://docs.sheetjs.com/stream/SheetJSNodeJStream.js
curl -LO https://docs.sheetjs.com/pres.xlsx
bun --version
bun SheetJSNodeJStream.js pres.xlsx