Webplug Client

installation

usage

Cli Commands

whpcli deploy

whpcli ui

JS Client Modules

Services Module

Users Module

Subscriptions Module

Event Types Module

Events Module

Webplug Client

Installation

You can install using either npm or yarn

# yarn
$ yarn install webplug

# npm
$ npm install webplug

Usage

// import the webplug client library
import WebPlug from "webplug";

// Initiate a new webplug connection
const webplugClient = new WebPlug({
  apiKey: import.meta.env.VITE_REACT_APP_API_KEY!,
  url: import.meta.env.VITE_REACT_APP_API_URL!,
});