Available Clients
Installation
vercel-api-js with the package name for your desired API client.
Usage
Basic Usage
All clients export typed fetchers for each API endpoint:Type Exports
Each client exports TypeScript types for all API schemas:Features
- Type-Safe - Full TypeScript support with auto-generated types
- Zod Schemas - Runtime validation with Zod schemas for all API types
- Auto-Updated - Daily regeneration from upstream OpenAPI specs
- Tree-Shakeable - Only import what you need
How It Works
These clients are generated using Kubb from OpenAPI specifications. The generation process:- Fetches the latest OpenAPI spec from the API provider
- Cleans and normalizes operation IDs and schemas
- Generates TypeScript types, Zod schemas, and fetch clients Updates are automated via GitHub Actions that run hourly to check for spec changes.