Salus is a toolkit for creating typesafe IO boundaries around APIs, job queues, and more in TypeScript.
Features:
- Runtime and static type safety from a single source of truth
- Simple DX with no code generation
- Compatible with any runtime
- Zero dependencies
Salus is composed from multiple individual packages.
Library for defining codecs that are able to convert between runtime and wire-types
Library for defining the structure of an HTTP request and response
Library for making type-safe HTTP calls built on the Axios client
Library for converting Salus codecs and operations into OpenAPI-compatible specifications
Library for mounting Salus operations as NestJS controllers
