UNPKG

@creditkarma/dynamic-config

Version:

Dynamic Config for Node.js backed by Consul and Vault

7 lines (6 loc) 278 B
import { ISchema } from '../types'; export declare function objectMatchesSchema(schema: object, data: any): boolean; /** * Creates a schema for the given object. The resulting schema is a simple JSON Schema. */ export declare function objectAsSimpleSchema(obj: any): ISchema;