
Typia
TypeScript transformer library that compiles pure TypeScript types into runtime validators, JSON serializers and random generators.
Typia is a TypeScript transformer. A project calls a function such as typia.is<T>() or typia.assert<T>() with a type argument, and the build replaces the call with a checker written for that type, so the validators need no separate schema and no reflection at runtime. The same transform produces JSON schemas, typed stringify and parse functions, Protocol Buffer encoders and decoders, and random data for a type.
Its homepage contrasts this with validators that need a separate schema object, such as Zod, io-ts and class-validator.
Worth knowing
The transform runs when the project compiles, so the stock tsc, ts-node and tsx do not apply it. The setup guide covers ttsc and ttsx, and a legacy path for projects pinned to earlier releases.
Identity
- Status
- Active
- Maintainer
- Jeongho Nam4
- Maintained by
- Individual
- First release
- 20226
Rendering and deploy
- Install with
- npm5
Releases
Adoption
Sources
- 2026-11-16: links
typia.io/ - 2026-11-16: links, Written in, GitHub stars
api.github.com/repos/samchon/typia - 2026-11-16: links
typia.io/docs/ - 2026-11-16: Maintainer, License, License model
raw.githubusercontent.com/samchon/typia/master/LICENSE - 2026-11-16: Categories, Install with
raw.githubusercontent.com/samchon/typia/master/README.md - 2026-11-16: First release
api.github.com/repos/samchon/typia/commits/v2.0.2 - 2026-11-16: Current major version, Last release
api.github.com/repos/samchon/typia/releases/latest - 2026-11-16: Contributors
api.github.com/repos/samchon/typia/contributors?per_page=1 - 2026-11-16: npm downloads a week
api.npmjs.org/downloads/range/2026-11-01:2026-11-07/typia - 2026-11-16: Downloads a month, Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/typia