Ross ROSS = Recommend OSS · open-source software intelligence for agents

gcanti/tcomb

Type checking and DDD for JavaScript observed · 2026-08-28

github.com/gcanti/tcomb · JavaScript · MIT (permissive) · archived observed · 2026-08-28

Health v2 · maintenance only

10/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100

Flags: archived

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4453
  • days_rel: n/a
  • days_push: 2670
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1879 stars · 121 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

tcomb is a lightweight JavaScript library for runtime type checking of values with a concise combinator-based syntax, supporting structs, lists, enums, refinements, unions, and more. It is designed for Domain Driven Design and adding type safety to internal code, and is intended for development use (disabled in production).

Use cases

  • validate JavaScript values at runtime
  • define domain models with type-checked structs
  • check function argument types
  • create immutable typed models for React props
  • define custom refined types like Integer
  • debug invalid values with descriptive type errors

When to choose

  • you need runtime type checking in plain JavaScript without a compiler
  • you want lightweight (3KB) DDD-style domain models
  • you're maintaining an existing codebase already using tcomb

When to avoid

  • you use TypeScript or Flow (prefer io-ts instead)
  • you need type checks in production (tcomb disables itself there)
  • you're starting a new project (library is in maintenance, last release 2019)

Facets

library · maturity maintenance

type-system serialization developer-tools programming-languages web-development browser runtime-type-checking domain-driven-design type-combinators immutable-models nodejs javascript

2 sources

Member repositories

RepositoryRoleHealth v2
gcanti/tcombmain10

For agents

markdown · JSON · MCP: product_card(name="gcanti/tcomb")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem