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
- Host: GitHub
- URL: https://github.com/ryanatkn/zts
- Owner: ryanatkn
- Created: 2024-11-21T00:39:54.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-01-02T15:04:36.000Z (5 months ago)
- Last Synced: 2025-02-07T01:24:46.355Z (4 months ago)
- Language: CSS
- Homepage: https://zts.ztack.net/
- Size: 227 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
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