Skip to content

Javascript mono-repo with all the tools to interact with MESG

Notifications You must be signed in to change notification settings

mesg-foundation/js-sdk

Repository files navigation

MESG js-sdk

Website - Docs - Forum - Chat - Blog

This repository is a list of tools in javascript to interact with MESG. It contains different libraries

  • @mesg/cli: Command line interface to create/test/deploy services and processes and manage your MESG node.
  • @mesg/api: This library responsible for the communication with the MESG Engine API.
  • @mesg/service: Handles the connection with the MESG Engine, some authentication, and finally, the functions for your service to listen to tasks sent by the engine or emit events that your service needs to expose to the engine.
  • @mesg/application: This library lets you connect to the MESG engine to listen for any event or result that you might be interested too. It also allows you to execute a task, either synchronously or asynchronously.
  • @mesg/compiler: This library let you compile your services and/or processes.

Contribute

Install

npm install
npm run lerna -- bootstrap

Add a new library in a package

npm run lerna -- add [--dev] XXX [packages/yyy]

Build all the packages

npm run lerna -- run build

Run test for all the packages

npm run lerna -- run test