0.2.0 • Published 5 years ago

@mesg/api v0.2.0

Weekly downloads
7
License
ISC
Repository
github
Last release
5 years ago

@mesg/api

Website - Docs - Forum - Chat - Blog

This library responsible for the communication with the MESG Engine API. It handles the conversion of the data to protobuf messages sent to the GRPC server providing functions with promises for unary calls and event emitters for the different streams that are available in the API.

Contents

Installation

npm install @mesg/api

API

const API = require('@mesg/api')
const api = new API('http://localhost:1317')

You can now use the following modules from the API with one of the following: