ts-pf
TypeScript Procedure Factory — a contract-first, end-to-end type-safe RPC library.
This procedure model, any pipe. You write a contract, implement it on the server, and call it from a client that never imports server code. Fetch is the default adapter, not the runtime.
Requires Node.js 22+.
- Getting started — install, the happy path, and serving
FetchHandler. This page is the root README. - Tutorial — build a small planet API, step by step.
- Guides — concepts, errors, contract evolution, testing, and coming from tRPC / oRPC.
- Packages — every published
@ts-pf/*README. - Protocol — the wire spec.
Package pages and guides are generated from the files in this repository when the site builds. Edit the README or docs/*.md; do not edit the generated copies.
Source: github.com/crobinson42/ts-pf.