# arktypeio/arktype

TypeScript's 1:1 validator, optimized from editor to runtime

Repository: https://github.com/arktypeio/arktype
Canonical: https://ross.abutalabs.com/products/arktype
Homepage: https://arktype.io/
Language: TypeScript
License: MIT
License Family: permissive
Topics: typescript, runtime-typechecking, static-typing, parsing, javascript
Last push: 2026-07-07T20:07:53+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 91, release rhythm 80, longevity 100
- inputs: {"age_days": 2630, "days_push": 57, "days_rel": 57, "gap_med": 0, "n_releases_24m": 732}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7848, forks 159 (observed 2026-08-28T04:10:07.387063+00:00)

## What it is
ArkType is a TypeScript runtime validation library whose syntax mirrors TypeScript's own type system, providing 1:1 static-to-runtime type checking with editor-first ergonomics. It offers extremely fast validation, deep introspectability via set theory, and companion tooling like ArkRegex for type-safe regular expressions.

## Use cases
- validate API request bodies at runtime with types inferred from schemas
- replace Zod or Yup with a faster TypeScript-native validator
- get autocomplete and type errors while writing validation schemas
- parse and validate untrusted JSON input in a Node backend
- create type-safe regular expressions with inferred capture groups
- share validation logic between frontend forms and backend endpoints

## When to choose
- you want runtime validation with syntax identical to TypeScript types
- validation performance is critical (hot paths, high-throughput APIs)
- you value editor autocomplete and readable type errors in schema definitions
- you need runtime introspection of type relationships

## When to avoid
- your project uses JavaScript without TypeScript
- you need a huge ecosystem of prebuilt plugins and integrations like Zod's
- you cannot use TypeScript 5.1+ with strict mode and ESM
- you need JSON Schema generation as a primary feature

## Facets
- artifact type: library
- maturity: active
- function: type-system, serialization, parser, developer-tools
- domain: developer-tools, web-development, programming-languages
- platform: cross-platform, bun
- tags: runtime-validation, typescript, schema-validation, static-typing, type-inference, arkregex, nodejs, web-server, deno

## Member repositories
- arktypeio/arktype (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:07.387063+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:33:49.715804+00:00, confidence not recorded.
  - readme: https://github.com/arktypeio/arktype (fetched 2026-08-28T04:10:07.387063+00:00, sha a24c045934d5)
  - homepage: https://arktype.io/ (fetched 2026-08-29T08:30:44.174280+00:00, sha fef88c34e945)
  - site_page: https://arktype.io/docs/blog/arkregex (fetched 2026-08-29T08:30:44.183889+00:00, sha ee198f4b670d)
  - site_page: https://arktype.io/docs/intro/setup (fetched 2026-08-29T08:30:44.186254+00:00, sha 4db585c2bd00)
  - registry_npm: https://registry.npmjs.org/arktype (fetched 2026-08-29T08:30:44.187855+00:00, sha 4b42fb8dc63a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
