oRPC Metadata

Installation
SKILL.md

Metadata

oRPC procedures support metadata — simple key-value pairs that customize behavior.

Basic Example

import { os } from '@orpc/server'

interface ORPCMetadata {
  cache?: boolean
}

const base = os
  .$meta<ORPCMetadata>({}) // require initial metadata
  .use(async ({ procedure, next, path }, input, output) => {
    if (!procedure['~orpc'].meta.cache) {
      return await next()
    }
Related skills
Installs
First Seen