samchon/typia
Super-fast/easy runtime validators and serializers via transformation observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 87
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 3
- age_days: 1598
- days_rel: 7
- days_push: 7
- n_releases_24m: 72
Adoption not part of the score
5877 stars · 224 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Typia is a TypeScript transformer library that compiles pure TypeScript types into super-fast runtime validators, JSON serializers/parsers, JSON schemas, Protocol Buffer codecs, random data generators, and LLM function-calling schemas at build time. It requires no runtime reflection or separate schema definitions, claiming up to 20,000x faster validation than decorator-based alternatives.
Use cases
- validate api request bodies against typescript types
- generate schema from typescript interfaces
- build llm function calling tools with type-safe schemas
- fast serialization of typed objects
- validate and parse untrusted at runtime
- generate random mock data from typescript types
- encode and decode protobuf messages from typescript types
- validate llm structured output with detailed error feedback
When to choose
- you want runtime validation without duplicating types as schemas or decorators
- validation performance is critical in hot paths
- you need type-safe LLM function calling or structured output schemas
- you want JSON schema or protobuf generation derived directly from TypeScript types
When to avoid
- your project cannot adopt a TypeScript compiler transform like ttsc or ts-patch
- you need runtime validation in plain JavaScript without TypeScript
- you rely on tooling incompatible with custom transformers (some bundlers or ts-node setups)
Facets
library · maturity active
serialization testing llm-inference prompt-engineering data-generation developer-tools web-development large-language-models apis backend cross-platform runtime-validation -schema compile-time-transform protocol-buffers llm-function-calling type-safe structured-output random-data nodejs typescript
10 sources
- readme: https://github.com/samchon/typia · fetched 2026-08-28 · 72aaaf9ac12d
- homepage: https://typia.io/ · fetched 2026-08-29 · 3a3d8f21859b
- site_page: https://typia.io/docs/validators/is · fetched 2026-08-29 · cc4623327d10
- site_page: https://typia.io/docs/validators/shallow · fetched 2026-08-29 · 398c876b9ae9
- site_page: https://typia.io/docs/validators/validate · fetched 2026-08-29 · 92fab9e69461
- site_page: https://typia.io/docs · fetched 2026-08-29 · 13ba27ce3875
- site_page: https://typia.io/docs/setup · fetched 2026-08-29 · 3c381a646dd0
- site_page: https://typia.io/docs/setup/legacy · fetched 2026-08-29 · 09e31f18aa94
- site_page: https://typia.io/docs/pure · fetched 2026-08-29 · c5765019eaa9
- site_page: https://typia.io/docs/validators/assert · fetched 2026-08-29 · df0de6201583
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| samchon/typia | main | 95 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem