Skip to content

@c4c/adapters

HTTP, REST, and CLI adapters for exposing procedures.

Installation

bash
pnpm add @c4c/adapters

Overview

@c4c/adapters provides:

  • HTTP server with RPC endpoints
  • REST endpoint mapping
  • CLI execution
  • Request validation
  • Error handling

Features

  • Automatic endpoint generation
  • OpenAPI documentation
  • CORS support
  • Request/response validation
  • Error formatting

Next Steps

Released under the MIT License.