I've moved away from this repo after I created a simpler version of this. I aim to open source it once it's matured. Please contact me if you want to know more.
ActionSchema intends to be a new standard allowing developers to create data-centric codebases. ActionSchema is a superset of JSON-Schema connecting meaning to how this meaning is obtained through OpenAPIs and code execution.
Installation differs depending on where you intend to use actionschema. ActionSchema can be ran on a server, on serverless, or directly from the browser!
Browser
Install:
npm install --save-exact actionschema
npm i idb
Usage:
import { executeBrowser } from "actionschema/browser";
executeBrowser(context);Serverless
Install: npm install --save-exact actionschema
Usage:
import { executeServerless } from "actionschema/serverless";
executeServerless(context);Server
Install:
npm install --save-exact actionschema
npm i piscina
Usage:
import { executeServer } from "actionschema/server";
executeServer(context);See ADR for more info on the choices made during this rewrite so far.
Goals of the rewrite:
x-schema)Compared to ActionSchema v1, this means it...
After that these are high on the list:
Stay tuned for updates!
Link to this package from actionschema-web or any other place you want to test this
npm link herenpm link actionschema in the package you want to link it to