Skip to content

Getting started

This library adds Zod safety with ease to your PocketBase instance. It provides you with:

  • a CLI to generate schemas for your selected collections
  • methods to make pocketbase SDK typesafe
  • helpers to simplify the way you fetch your collections

Installation

To install zod-pocketbase, run the following from your project directory:

Terminal window
npm install zod-pocketbase