adapter-fetch
OfficialDeploy tRPC to edge runtimes with fetch handler
AuthorPlazaCC
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Deploying tRPC APIs to modern edge runtimes is cumbersome because traditional Node.js adapters are not compatible, leading to mismatched endpoints and missing context handling.
Core Features & Use Cases
- Universal Edge Adapter: Works with Cloudflare Workers, Deno Deploy, Vercel Edge, Astro, Remix, and SolidStart via
fetchRequestHandler. - Custom Context Creation: Provides
reqandresHeadersthroughFetchCreateContextFnOptionsfor authentication or response header manipulation. - Batch Size Control: Supports
maxBatchSizeto limit request batching and improve reliability. - Common Pitfall Guidance: Highlights endpoint mismatches and correct configuration examples.
Quick Start
Use the adapter-fetch skill to create a Cloudflare Worker that serves a tRPC router at “/trpc” with custom request‑based context.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: adapter-fetch Download link: https://github.com/PlazaCC/antes-da-tela/archive/main.zip#adapter-fetch Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.