Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

fvalid

0.0.5 • Public • Published

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.

Install

npm i fvalid

DownloadsWeekly Downloads

16

Version

0.0.5

License

Apache-2.0

Last publish

Collaborators

  • avatar