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:
npm install zod-pocketbase
pnpm add zod-pocketbase
yarn install zod-pocketbase