tcomb
Type checking and DDD for JavaScript
tcomb is a JavaScript library for defining and checking runtime types in Node.js and browser environments. It gives developers a concise syntax for modeling values, structures, interfaces, enums, unions, refinements, and other domain-level constraints. The library is useful in JavaScript projects where static type information is unavailable or insufficient at runtime. It can validate external inputs, document data expectations, and support safer programming patterns without requiring a full...