samchon/typia
GitHub 仓库 中按Star排名第 283 / 共 783
Super-fast/easy runtime validators and serializers via transformation
项目介绍
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…
最新指标
| Star | 5.9k | 2026-07-16 |
|---|---|---|
| Fork | 223 | 2026-07-16 |
| 提交 | 2.6k | 2026-07-16 |
| 发布 | 265 | 2026-07-16 |
| Watcher | 16 | 2026-07-16 |
| 开放 issue | 35 | 2026-07-16 |
| 开放 PR | 5 | 2026-07-16 |