Ajv Filter
Library that enables ajv to filter objects, rather than just validating them.
Install
npm install --save ajv-filter
Usage
;; ; ; ; // <- patching the instance; // <- patching the schema validate Data ; // => falseconsole.log Data ; // { foo: 'string' }validate Data ; // => true
License
MIT © Fabio Spampinato