The FieldVal-Rules-JS library allows you to use JSON rules to build forms and validate data. It uses the FieldVal library.
Documentation and examples can be found at http://fieldval.com
This project uses gulp.js to build and mocha to test.
npm install
gulp js
mocha test/test