npm.io
10.5.2 • Published 1 week ago

@interopio/schemas

Licence
ISC
Version
10.5.2
Deps
2
Size
1.6 MB
Vulns
0
Weekly
0

A wrapper module containing the io.Connect Desktop clients JSON schemas

build

To build use some of the scripts below:

npm run build

using

Import, instantiate and use getter properties on the instance.

import { SchemaValidator } from "@interopio/schemas/app/validator";
import { FileProvider } from "@interopio/schemas/app/fileProvider";
import { SchemaProvider } from "@interopio/schemas/app/provider";
const schemasPath = join(getApplicationPath(), "../schemas/schemas");
const provider = new FileProvider(logger, schemasPath);
const validator = new SchemaValidator(provider, logger);

Keywords