UNPKG

nosqlax

Version:

NoSQLax is a lightweight JavaScript library designed to simplify and streamline CRUD operations with CouchDB. NoSQLax provides a unified and intuitive repository pattern to handle your data effortlessly.

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;