@crevio/sdk package provides a type-safe TypeScript client for the Crevio API. It works in Node.js, browsers, Cloudflare Workers, and Deno.
Installation
Quick start
Usage examples
List products
Get a product
Create a checkout
List orders with expanded data
Create a customer
Create a discount
Error handling
The SDK throws typed errors that you can catch:Runtime support
| Runtime | Supported |
|---|---|
| Node.js 18+ | Yes |
| Browsers | Yes |
| Cloudflare Workers | Yes |
| Deno | Yes |
| Bun | Yes |
The SDK is generated with Speakeasy and includes Zod validation, automatic retries, and full TypeScript type definitions.

