Behio Storefront SDK
Headless e-commerce SDK for building custom storefronts with React
Build custom e-commerce storefronts with the Behio Storefront SDK. Full TypeScript support, React hooks, and a powerful client API.
Quick Start
npm install @behio/storefront-sdkimport { BehioStorefront } from '@behio/storefront-sdk';
const client = new BehioStorefront({
apiKey: 'pk_live_your_key',
});
// Fetch products
const products = await client.catalog.getProducts({ limit: 12 });Features
Why Behio?
- Headless — bring your own frontend (Next.js, Remix, Astro, mobile)
- TypeScript-first — full type safety, IntelliSense everywhere
- React hooks —
useProducts,useCart,useCheckoutand more - Auto token refresh — seamless JWT rotation with event hooks
- Rate limit aware — built-in rate limit tracking and warnings
- Interceptors — request/response middleware for logging, analytics