Rush SDK

Integrate Rush CMS in minutes

Official SDK for Rush CMS integration. Type-safe, with ready-to-use React hooks and intelligent cache. Works with Next.js, Astro, Remix and any JavaScript framework.

$ pnpm add @rushcms/sdk

Features

Type-safe

Fully typed SDK with TypeScript. Autocomplete and validation at development time.

React Hooks

Ready-to-use hooks: useCollection, useEntry, useMedia and more.

Smart Cache

Integrated cache system with automatic invalidation. Less requests, more performance.

SSR Ready

Works perfectly with Next.js, Astro, Remix and other SSR frameworks.

Authentication

Support for multiple authentication methods: API Token, Bearer, and more.

Light and Fast

Minimal bundle, no heavy dependencies. Ideal for sites that need performance.

Found a bug or have a suggestion?

Open an issue on GitHub