loog.js
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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",
});

Package Sidebar

Install

npm i loog.js

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

9.82 kB

Total Files

17

Last publish

Collaborators

  • wachira