docs.sheetjs.com/tests/bigdata-stream-bun.sh

18 lines
367 B
Bash
Raw Normal View History

2024-07-18 22:19:02 +00:00
#!/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