This release tweaks the validator for clean usage via require() and introduces a basic test harness.
Added
- Introduced Mocha test suite.
- Introduced simple Grunt build and test apparatus.
- Added linting regiment with JSHint.
- Added Travis testing harness.
- This changelog.
Changed
- The
isValidmethod will propagate validation errors back to the caller via theisValid.errorscollection.isValiditself must always return either booleantrueorfalse.