oRPC Server-Side Clients

Installation
SKILL.md

Server-Side Clients

Call your procedures in the same environment as your server, no proxies required, like native functions.

Calling Procedures

Using .callable

import { os } from '@orpc/server'
import * as z from 'zod'

const getProcedure = os
  .input(z.object({ id: z.string() }))
  .handler(async ({ input }) => ({ id: input.id }))
  .callable({
    context: {} // Initial context if needed
  })
Installs
–
GitHub Stars
8
First Seen
–
oRPC Server-Side Clients — ali-master/skills