adapter-fetch
About adapter-fetch
Deploy tRPC on WinterCG-compliant edge runtimes with fetchRequestHandler() from @trpc/server/adapters/fetch. Supports Cloudflare Workers, Deno Deploy, Vercel Edge Runtime, Astro, Remix, SolidStart. FetchCreateContextFnOptions provides req (Request) and resHeaders (Headers) for context creation. The endpoint option must match the URL path prefix where the handler is mounted.
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / trpc/ trpc --skill adapter-fetchAfter installing, type/adapter-fetchin Claude Code to confirm it loaded.
Comments
Markdown supported