constraints

A type checker, that allows definition of additional types and constraints over them, checking objects against types and extension with default values before checks

npm install constraints
6 downloads in the last week
24 downloads in the last month

node-typecheck

A small typechecking library for node and browser. Uses AMD.

See unit tests source and comments in source for usage

npm loves you