FindSoftware

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

Current major version
157
Last release
2026-11-147

Adoption

GitHub stars
5,9692
npm downloads a week
503,8879
Contributors
968
Downloads a month
1,786,27710
Dependent repositories
12310
Dependent packages
9410

Why these figures do not compare

Sources

  1. 2026-11-16: links
    typia.io/
  2. 2026-11-16: links, Written in, GitHub stars
    api.github.com/repos/samchon/typia
  3. 2026-11-16: links
    typia.io/docs/
  4. 2026-11-16: Maintainer, License, License model
    raw.githubusercontent.com/samchon/typia/master/LICENSE
  5. 2026-11-16: Categories, Install with
    raw.githubusercontent.com/samchon/typia/master/README.md
  6. 2026-11-16: First release
    api.github.com/repos/samchon/typia/commits/v2.0.2
  7. 2026-11-16: Current major version, Last release
    api.github.com/repos/samchon/typia/releases/latest
  8. 2026-11-16: Contributors
    api.github.com/repos/samchon/typia/contributors?per_page=1
  9. 2026-11-16: npm downloads a week
    api.npmjs.org/downloads/range/2026-11-01:2026-11-07/typia
  10. 2026-11-16: Downloads a month, Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/typia

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON