Runtime support
The Node.js SDK is built and tested against the matrix below.
| Runtime | linux | macos | windows |
|---|---|---|---|
20.x | ● | ● | ○ |
22.x | ● | ● | ● |
24.x | ○ | ○ | ○ |
The minimum supported Node.js version is 20.18.0. Earlier versions lack the global fetch and ReadableStream the SDK depends on.
Runtimes that are not Node
Section titled “Runtimes that are not Node”The main SDK entry point (@poli-page/sdk) targets any modern JavaScript server runtime with fetch and ReadableStream. The renderToFile helper from @poli-page/sdk/node is Node-only because it uses node:fs.