crkn-rcdr / kivik

An opinionated library and command-line utility for configuration CouchDB endpoints, databases, and design documents.
1 stars 0 forks source link

Validate however you like #50

Closed SaschaAdler closed 3 years ago

SaschaAdler commented 3 years ago

Data validation is no longer tightly-coupled with JSON Schema, Ajv, or validation code living in the same package as Kivik config.

Just add validate.js in the root of whichever database you'd like to validate, and have it export a function that validates arbitrary data.

Closes #47.