oRPC Router
Installation
SKILL.md
Router in oRPC
Routers are simple, nestable objects composed of procedures.
Overview
import { os } from '@orpc/server'
const ping = os.handler(async () => 'ping')
const pong = os.handler(async () => 'pong')
const router = {
ping,
pong,
nested: { ping, pong }
}