1.0.0 • Published 10 months ago
loog.js v1.0.0
loog.js
keep track of your events in one platform and have them tied to custom workflows from the dashboard
Installation
npm install --save loog.js
Usage
Import Library
import Loog from "loog.js";
Initialize Client
const loog = new Loog();
loog.init({
clientID: "your client id", // check the settings section of your app
publicKey: "your public key", // check the settings section of your app
});
Send Event
loog.emit({
metadata: {
is_test: true,
},
message: "This is a test message",
event_channel: "#test-message",
event_type: "event",
});