@samatawy/checks provides TypeScript validation and object-management utilities for fluent checks, validated object construction, and coded results.
The package is still evolving and should not yet be treated as production-tested infrastructure. Breaking changes are still relatively frequent while the API surface is being refined.
It is aimed at business application code that wants a small typed runtime layer around validated DTOs, object hydration, and localized coded results without pulling in a larger framework.
The generated docs site is organized into four top-level sections:
The public API is exported from src/index.ts and includes:
ObjectCheck, ArrayCheck, and FieldCheckEmailCheck, UrlCheck, FileCheck, and ImageCheckObjectFactory for validated object creation and update flowsCodedMessageCatalog and ICodedMessageCatalog@samatawy/checks/nodeResultSet, SingleResult, ResultCodeDefinition, and CheckOptionsresult(options?) as the main output API for nested, flattened, localized, and validated projectionsObjectFactoryIf you are specifically looking for schema-driven validation, start with SchemaCheck in the How-To section.
If you are evaluating libraries, see Zod And Ajv Comparison in the Reference section.