Skip to content

Install

The Poli Page Node.js SDK ships as @poli-page/sdk on npm. It supports both ESM and CJS, and requires Node 20.18 or later.

Terminal window
npm install @poli-page/sdk
# or
pnpm add @poli-page/sdk
# or
yarn add @poli-page/sdk

The SDK targets Node 20.18 and tests against Node 20.x, 22.x, and 24.x on Linux, macOS, and Windows. See runtime support for the full matrix.

import { PoliPage } from '@poli-page/sdk';
const client = new PoliPage({ apiKey: process.env.POLI_PAGE_API_KEY! });