Package Exports
- @comake/skql-js-engine
- @comake/skql-js-engine/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@comake/skql-js-engine) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
SKQL Javascript Engine
This is a Javascript implementation of a Standard Knowledge Query Language Engine for Standard Knowledge Language (SKL). It is written in Typescript and follows the SKL Engine specification.
How to use SKQL Javascript Engine
1. Install via npm or yarn:
npm install @comake/skql-js-engine
yarn add @comake/skql-js-engine2. Define Schemas
We will be posting more documentation on schemas soon. For now, you can view examples of schemas in use in the examples folder of skql-js-engine.
The folder-structure-sync example is a node.js module that can recursively loop through the folder structure of any Integration that works with the getFilesInFolder Verb.
3. Write code
Once you have schemas defined for your domain, all you have to do is write code using the Verbs and Nouns in your schema to build your application logic.
How to contribute
1. Clone the repo
To clone the repo, execute the following commands in your terminal:
git clone https://github.com/comake/skql-js-engine.git
cd skql-js-engine
npm ci2. Download RMLMapper
Download the latest release of the RMLMapper jar from its releases page. Put the jar file in a folder called lib at the top level of your local clone of this repo.
License & Copyright
SKQL Javascript Engine is available under the BSD 4 license. See the LICENSE file for more info.
Copyright (c) 2022, Comake, Inc.
TODO
- add husky
- unhardcode rml config
- add README to example
- add CONTRIBUTING.md, CODE_OF_CONDUCT.md, etc
- add skds schema source