Ow is a TypeScript-based JavaScript library for validating function arguments and other runtime values with expressive predicates. It complements static TypeScript checking by catching invalid data that reaches an application after compilation. Developers can validate strings, numbers, objects, arrays, and many other values through a readable chainable API. Built-in predicates cover common constraints, while custom validators can handle application-specific requirements. Failed checks produce descriptive errors intended to make debugging easier than relying on later runtime failures. Ow can also test values without throwing and includes TypeScript type guards that narrow unknown values after successful validation. It works in server, browser, and command-line environments and is aimed at focused runtime checks rather than large schema validation workloads.

Features

  • Expressive chainable validation API
  • Extensive built-in predicates
  • Custom runtime validators
  • Descriptive validation errors
  • TypeScript type narrowing and guards
  • Server, browser, and CLI compatibility

Project Samples

Project Activity

See All Activity >

Categories

Compilers

License

MIT License

Follow Ow

Ow Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Ow!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Compilers

Registered

2 days ago