0.10.0-alpha.1.8 • Published 2 years ago

ahqstorejs.lite v0.10.0-alpha.1.8

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

AHQ Store JS.Lite

A Core Package for interacting with the AHQ Store Framework (the framework uses electron under the hood)

Quick Example (Not Tested)

const ahqstore = require("ahqstorejs.lite");
// If debug
ahqstore.debug().start();

// If Installed as an ahq store app
ahqstore.start();

Constants

Functions

version : string

Kind: global constant

debug() ⇒ Object

Use Debug Data

Kind: global function

start() ⇒ Promise.<void>

Tries to connect to AHQ Store Framework Agent Resolves if it succeeds, rejects if it fails

Kind: global function

listenWs(fn) ⇒ number

Listen to WebSocket Events

Kind: global function
Returns: number - total number of listeners

ParamType
fnfunction

sendWsMessage(data)

Sends a message to the electron app

Kind: global function

ParamType
dataObject

getRawWs() ⇒ WebSocket

Get the raw ws that is being wrapped

Kind: global function

0.10.0-alpha.1.8

2 years ago

0.10.0-alpha.1.7

2 years ago

0.10.0-alpha.1.6

2 years ago

0.10.0-alpha.1.3

2 years ago

0.10.0-alpha.1.1

2 years ago

0.10.0-alpha.1

2 years ago