Skip to content

Installation

Terminal window
bun add tipply-sdk-ts
  • Bun
  • Node.js 18+
  • browsers with fetch

The websocket-based realtime helpers target Bun, Node.js, and browsers. Edge runtimes are not an official target.

Use the main package for the authenticated client:

import { createTipplyClient } from "tipply-sdk-ts";

Use the public entry point for unauthenticated access:

import { createTipplyPublicClient } from "tipply-sdk-ts/public";

The package also exports shared types, helpers, and errors:

import {
asGoalId,
asUserId,
TipplyAuthenticationError,
type RequestOptions,
} from "tipply-sdk-ts";

From the repository root:

Terminal window
bun run build
bun run typecheck
bun run test

To run the docs app locally:

Terminal window
cd apps/docs
bun run dev