Skip to content

Turbo Client

A TypeScript client for Turborepo’s Remote Cache. Vercel serves it, so the token is a Vercel token (TURBO_TOKEN).

Terminal window
pnpm add @theholocron/turbo-client
import { createTurboClient } from "@theholocron/turbo-client";
const turbo = createTurboClient({ token: process.env.TURBO_TOKEN! });
// Is Remote Caching on for the team? `status` is "enabled", "disabled", "over_limit" or "paused".
const { status, readOnly } = await turbo.cache.status("acme");

The full API reference is generated from the package’s TSDoc comments.