18 lines
367 B
Bash
Executable File
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
|