oRPC Hono Adapter
Installation
SKILL.md
Hono Adapter
Hono is a high-performance web framework built on Fetch API.
Basic
import { Hono } from 'hono'
import { RPCHandler } from '@orpc/server/fetch'
import { onError } from '@orpc/server'
const app = new Hono()
const handler = new RPCHandler(router, {
interceptors: [onError(e => console.error(e))],
})