{"repo":"MacPaw/ai-sdk-typescript","free":true,"listed":false,"github":"https://github.com/MacPaw/ai-sdk-typescript","clone":"git clone https://github.com/MacPaw/ai-sdk-typescript.git","description":"Official TypeScript SDK for AI Gateway - universal client for browser and Node.js (Chat, Embeddings, Images, Audio, NestJS module)","language":"TypeScript","stars":58,"topics":["ai","api-client","embeddings","frontend","gateway","macpaw","nestjs","nodejs","openai-api","openapi"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"@macpaw/ai-sdk Thin Vercel AI SDK extension for MacPaw AI Gateway : OpenAI-compatible providers ( createAIGatewayProvider , createGatewayProvider ), a createGatewayFetch bridge for any HTTP client, a createVideoClient for video generation, shared auth / retry / middleware / errors , and optional NestJS wiring. Core generation APIs stay on upstream ai and @ai-sdk/ . This package only adds Gateway-specific construction and the fetch pipeline. Package entry points Import Use for ------------------------- ------------------------------------------------------------------------------------------ @macpaw/ai-sdk Canonical — providers, createGatewayFetch , createVideoClient , errors, config types @macpaw/ai-sdk/provider Alias of the root entry (same dist ; for older snippets) @macpaw/ai-sdk/nestjs AIGatewayModule , @InjectAIGateway() , AIGatewayExceptionFilter Upstream ai , @ai-sdk/openai , @ai-sdk/react (or ai/react ) remain the home for Vercel primitives and React hooks. There is no published @macpaw/ai-sdk/client , @macpaw/ai-sdk/runtime , @macpaw/ai-sdk/types , or @macpaw/ai-sdk/testing in this version — use createGatewayFetch + fetch (or the OpenAI SDK with custom fetch ) for raw HTTP and multipart. See MIGRATION.md. Install Also install upstream packages you call directly, for example ai , @ai-sdk/openai , @ai-sdk/react . This package does not pin or wrap the upstream UI/hooks API from ai / @ai-sdk/react . Follow the versioned upstream docs for the exact major version you insta","default_branch":null,"files":null,"tree":[],"storefront":"/r/MacPaw","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MacPaw/ai-sdk-typescript/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}