adapter-express

Official

Expose tRPC in Express with a single middleware.

AuthorPlazaCC
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Integrate tRPC into an existing Express backend by mounting its middleware, enabling strongly-typed APIs behind a familiar Express route.

Core Features & Use Cases

  • Express integration: Mount tRPC as Express middleware using createExpressMiddleware to surface routers under a URL path and keep existing middleware.
  • Context access: Access Express req and res in createContext via CreateExpressContextOptions to build per-request data and auth decisions.
  • Seamless modernization: Reuse an existing Express server with minimal changes while gaining type-safe procedures.

Quick Start

Mount tRPC Express middleware in your app by calling createExpressMiddleware with your router and createContext, then attach it to your Express app.

Dependency Matrix

Required Modules

None required

Components

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-express
Download link: https://github.com/PlazaCC/antes-da-tela/archive/main.zip#adapter-express

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.