UNPKG

nosqlax

Version:

NoSQLax is a modern, lightweight JavaScript Object Document Mapper(ODM) library that makes working with CouchDB a breeze. Inspired by CouchDB’s “Relax” philosophy and the chill vibes of Snorlax, NoSQLax takes the hassle out of managing your data, offering

9 lines (8 loc) 262 B
import { Options, ValidateFunction } from 'ajv'; declare class Validation { private ajv; validate: ValidateFunction; constructor(ajvOptions: Options, schemaOrSchemaId: object | string); validateData(data: any): void; } export default Validation;