Client
new PoliPage(options: PoliPageOptions) Poli Page client. Entry point for the namespaced render API.
Constructor
Section titled “Constructor”The constructor takes a single options object. The only required field is apiKey. See PoliPageOptions for every field.
Namespaces
Section titled “Namespaces”The client exposes two namespaces:
render— render PDFs (in memory, streaming, or to a stored document).documents— fetch, preview, thumbnail, or delete stored documents.
The standalone helper renderToFile ships from the @poli-page/sdk/node subexport.