saurpc

saurpc is a tiny set of functions and types to make strongly-typed RPC easily manageable across TypeScript projects.

By default, it bundles an oak server and a fetch client.

Usage

Please refer to the automated documentation:

Or if you need a particular version, you can specify it like so:

Example

A very basic example is available in ./fullstack_test.ts.

Development

Pre-Commit Hook

deno task setup-pre-commit

Run CI Locally

deno task ci

Format Code

deno task fix