Skip to main content

Package manager

Requirements

Kweri ships TypeBox as a dependency and re-exports Type and Static from its main entry point, so you don’t need to install TypeBox separately.

Package exports

Generated OpenAPI clients are written into your source tree (default src/api/kweri/client.ts) and imported from there — not from the kweri package. See the kweri-gen CLI reference.

TypeScript configuration

Kweri is written in TypeScript and ships with declarations. No additional @types packages are needed. Make sure your tsconfig.json has "moduleResolution": "bundler" or "node16" / "nodenext" to resolve the package exports correctly:
tsconfig.json

CLI (optional)

The kweri-gen CLI is included in the package and available as a local binary:
See the kweri-gen CLI reference for full options.