Adding Cloudflare to Demos section #6

Open
TomDo1234 wants to merge 10 commits from TomDo1234/docs.sheetjs.com:master into master
Showing only changes of commit 65ec4fb2e6 - Show all commits

@ -35,21 +35,13 @@ This demo was last tested on 2024 April 02.
Cloudflare offers NodeJS runtimes for running JavaScript serverless functions.[^1]
The [SheetJS NodeJS module](/docs/getting-started/installation/nodejs) can be
required in Lambda functions. When deploying, the entire `node_modules` folder
can be added to the ZIP package.
required in Lambda functions. Cloudflare provides a convenient cli called Wrangler [^2]
which can streamline development and deployment
:::note pass
In this demo, the "Function URL" (automatic API Gateway management) features
are used. Older deployments required special "Binary Media Types" to handle
formats like XLSX. At the time of testing, the configuration was not required.
:::
:::info pass
Node.js runtime can use `x86_64` or `arm64` CPU architectures. SheetJS libraries
work on both platforms in Linux, Windows, and macOS operating systems.
In this demo, Wrangler is used as that is Cloudflare's recommended way of developing and deploying to
Workers
:::
@ -671,7 +663,7 @@ S,h,e,e,t,J,S
```
[^1]: See ["Node.js compatibility"](https://developers.cloudflare.com/workers/runtime-apis/nodejs/) in the Cloudflare documentation
[^2]: The `busboy` module is distributed [on the public NPM registry](https://npm.im/busboy)
[^2]: [Wrangler documentation](https://developers.cloudflare.com/workers/wrangler/)
[^3]: See [`read` in "Reading Files"](/docs/api/parse-options)
[^4]: See ["Workbook Object" in "SheetJS Data Model"](/docs/csf/book) for more details.
[^5]: See [`sheet_to_csv` in "CSV and Text"](/docs/api/utilities/csv#delimiter-separated-output)