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

sindresorhus/ow

Function argument validation for humans observed · 2026-08-28

github.com/sindresorhus/ow · homepage · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

59/100

  • Activity 47
  • Release rhythm 52
  • Longevity 100
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: 18.0
  • age_days: 3260
  • days_rel: 321
  • days_push: 321
  • n_releases_24m: 3

Full methodology

Adoption not part of the score

3865 stars · 111 forks observed · 2026-08-28

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

ow is a TypeScript library providing expressive, chainable runtime validation of function arguments and values with descriptive error messages. It includes built-in predicates for many types, custom validation support, and TypeScript type guards.

Use cases

  • validate function arguments at runtime
  • validate environment variables and config at startup
  • assert constructor parameters in classes
  • validate CLI arguments and flags
  • narrow TypeScript types from unknown values
  • validate object shapes with descriptive errors

When to choose

  • you need runtime validation of function inputs with clear error messages
  • you want self-documenting assertions with a chainable API
  • you need TypeScript type guards after validation
  • you want dev-only imports stripped from production bundles

When to avoid

  • you need complex schema validation for API responses or JSON parsing (use zod)
  • you need validation outside the JavaScript/TypeScript ecosystem
  • you need zero runtime overhead in production without using the dev-only shim

Facets

library · maturity stable

testing developer-tools developer-tools web-development programming-languages browser cross-platform validation type-checking assertion typescript runtime-validation type-guards nodejs

4 sources

Member repositories

RepositoryRoleHealth v2
sindresorhus/owmain59

For agents

markdown · JSON · MCP: product_card(name="sindresorhus/ow")

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