Skip to content
TypeWire

// DOCS

Reference

Every page here is rendered from the package it documents — its own markdown, in its own directory, in this repository. Each package declares which version its docs describe, and CI fails a release whose docs were never reviewed against it.

Core

Framework-less, dependency-free capability permissions: one shared bit map, evaluated identically on client and server, with layered resolution, codecs, a lock file and contract-linkable requirements.

typefetchv2.0.0

A strongly typed TypeScript HTTP client powered by Zod contracts, middleware, retries, mock data, contract testing, CLI tooling, and report generation.

Contract-driven, type-safe Socket.IO client — one Zod contract validated in both directions, with acks, middleware, queueing and a devtools instrumentation seam.

Devtools

React inspector panel for the TypeWire ecosystem — one timeline for HTTP and WS, a live query cache, a runtime override editor, and theme/sound settings.

Transport-agnostic inspector bridge for the TypeFetch ecosystem (timeline, overrides, generic Source protocol).

Server

NestJS integration for the TypeWire ecosystem — serve one set of Zod contracts over every wire your client speaks: REST/HTTP, gRPC (Connect JSON), GraphQL and typesocket WebSocket gateways, with request/response validation on all of them.

State

Framework-agnostic query engine for TypeFetch contracts (cache, dedup, staleness, mutations, invalidation).

React adapter for the TypeFetch query engine — useQuery, useMutation, TypeFetchProvider.

Tooling

Command-line tools for TypeWire contracts — contract test runner, scaffolding, and reports.

Transports

Field-level request/response encryption middleware for TypeFetch contracts (AES, DES, RSA, Base64, custom).

GraphQL transport for TypeFetch contracts — one client, one middleware chain, and selection sets generated from your Zod response schema.

gRPC transport for TypeFetch contracts — Connect unary JSON out of the box, binary grpc-web behind a codec seam, zero dependencies.

Repository