Validate nested objects with functions
npm install --save-dev fvalidbower install fvalid
fvalid utilizes ECMA-262 5th edition functions like
reduce. It does not depend on any other modules.
The test suite has usage examples, including a toy micro-blog post format validator. The author developed
fvalid to underpin data validations for the Common Form project, which includes some examples of use with recursive schemata and highly contextual validations, such as prohibitions on elements of the same type appearing contiguously in certain lists.