SDK
Typed TypeScript client for Node, Next.js, or any modern JS runtime. The fastest path to a typed integration with autocomplete.
typescript
1. Install
npm install @meshbase/sdk2. Connect and query
import { createClient } from "@meshbase/sdk";
const client = createClient({ apiKey: process.env.MESHBASE_KEY });
const { products } = await client.catalog.listProducts({
orderBy: { revenue: "desc" },
first: 10,
});