An open API service indexing awesome lists of open source software.

https://github.com/ryanatkn/zts

typescript schema library for codegen 🧱 coming soon
https://github.com/ryanatkn/zts

Last synced: 2 months ago
JSON representation

typescript schema library for codegen 🧱 coming soon

Awesome Lists containing this project

README

        

# @ryanatkn/zts

> typescript schema library for codegen 🧱 [zts.ztack.net](https://zts.ztack.net/)

coming soon

## Motivation

- need a good source of truth
- design for code generation - types, parsers, serializers, web APIs, any/etc
- compared to zod/valibot/etc, no inference but improved DX (I think at least in many ways, to be seen)
- optimal runtime characteristics - you get fine-grained control over outputs and can adapt to each situation
- full-fidelity unlike e.g. JSON Schema, can parse/validate/transform/preproc/etc with arbitrary async code
- a schema library ought to be futuristic and classic