Skip to content
validate arbitrarily nested objects with functions
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
test
.editorconfig
.gitattributes
.gitignore
.istanbul.yml
.jscsrc
.jshintignore
.jshintrc
.npmignore
.travis.yml
CONTRIBUTING.md
LICENSE.md
README.md
bower.json
fvalid.js
package.json

README.md

fvalid.js

NPM version Bower version build status

Validate nested objects with functions

npm install --save-dev fvalid
bower 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.

Developers shopping for a JavaScript validation library should also consider JSON Schema and Joi.

Something went wrong with that request. Please try again.