Skip to content
Clics privacy-friendly cookieless web analytics documentation
Esc
navigateopen⌘Jpreview
On this page

Install the Clics TypeScript SDK with npm or pnpm

Copy page

Installation

Install @clicsdev/sdk with npm, pnpm, yarn, or bun to call the Clics analytics API from TypeScript or Node.

npm add @clicsdev/sdk
pnpm add @clicsdev/sdk
bun add @clicsdev/sdk
yarn add @clicsdev/sdk

Requirements

  • Node.js 18+ (active LTS), Bun 1+, or modern browsers with Fetch and Streams support
  • ES modules ("type": "module" or a bundler that supports ESM)

Was this page helpful?