@comake/skl-js-engine
TypeScript icon, indicating that this package has built-in type declarations

0.18.0 • Public • Published

npm version License

SKL Javascript Engine

This is a Javascript implementation of a Standard Knowledge Language Engine for Standard Knowledge Language (SKL). It is written in Typescript and follows the SKL Engine specification.

How to use SKL Javascript Engine

1. Install via npm or yarn:

npm install @comake/skl-js-engine
yarn add @comake/skl-js-engine

2. Define Schemas

We will be posting more documentation on schemas soon.

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.

Browser support

To use SKL Javascript Engine in a browser, you'll need to use a bundling tool such as Webpack, Rollup, Parcel, or Browserify. Some bundlers may require a bit of configuration, such as setting browser: true in rollup-plugin-resolve.

How to contribute

To clone the repo, execute the following commands in your terminal:

git clone https://github.com/comake/skl-js-engine.git
cd skl-js-engine
npm ci

License & Copyright

SKL Javascript Engine is open-source with certain limitations. See the LICENSE file for more info.

Copyright (c) 2022, Comake, Inc.

TODO

  • [ ] add SKDS schema source
  • [ ] Add reference to examples in readme

Readme

Keywords

Package Sidebar

Install

npm i @comake/skl-js-engine

Weekly Downloads

5

Version

0.18.0

License

BSD-4-Clause

Unpacked Size

302 kB

Total Files

108

Last publish

Collaborators

  • adlerfaulkner