aiagent.club
English
GitHub

typia

观察池 · 暂无正式排名

该项目当前未满足“两个有效维度 + 两种数据源”的主榜门槛。

未排名
可观测采用度缺失
动量当前有效 · 2026-09-12
12
关注度当前有效 · 2026-09-12
24
信号可信度 依据当前有数据的独立评分维度数量计算。
2/3 · 1 种数据源

方法论 v2.0 · 快照 2026-09-12 · 超过 2 天视为过期

项目介绍

typia is a transformer library supporting below features:

> - Only one line required, with pure TypeScript type - Runtime validator is 20,000x faster than class-validator - JSON serialization is 200x faster than class-transformer - LLM function calling harness turns 6.75% → 100% accuracy

You must use ttsc and ttsx. The stock tsc, ts-node, and tsx cannot apply the typia transform, so they will not work.

For bundler integration (Vite, Next.js, Webpack, Rollup, esbuild, ...), use @ttsc/unplugin.

If you call typia function, it would be compiled like below.

This is the key concept of typia, transforming TypeScript type to a runtime function. The typia.is() function is transformed to a…

各数据源

5.9k Star
  • Star 5.9k
  • Fork 224
  • 提交 2.7k
  • 发布 274