adapter-fastify
OfficialMount tRPC on Fastify for fast API services
AuthorPlazaCC
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Manually wiring tRPC into a Fastify server requires configuring the plugin, handling batch request limits, enabling WebSocket subscriptions, and ensuring type‑safe error handling, which can be error‑prone and time‑consuming.
Core Features & Use Cases
- Provides a Fastify plugin that mounts a tRPC router at a configurable prefix.
- Supports WebSocket subscriptions via
@fastify/websocketfor real‑time features. - Allows batch request size control with
maxParamLengthandmaxBatchSizesettings. - Ensures type‑safe
onErrorhandling using TypeScript'ssatisfiesoperator. - Ideal for building Node.js backend services that need a performant, type‑safe RPC layer.
Quick Start
Use the adapter-fastify skill to mount your tRPC router on a Fastify server at the /trpc endpoint.
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-fastify Download link: https://github.com/PlazaCC/antes-da-tela/archive/main.zip#adapter-fastify 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.