0.0.3 • Published 6 months ago

boltml v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

boltml-js

The BoltML client library for Javascript.

Installation

Node

Install the latest version of the BoltML client library using npm:

npm i boltml

CDN

To use the BoltML client library in the browser, you can use the following script tag:

<script src="https://unpkg.com/boltml"></script>

Usage

After signing up for BoltML, you will receive a client token. You can use this token to authenticate with the BoltML API.

import BoltML from "boltml"

BoltML.initialize("https://api.boltml.dev", "9c8366aea9174766a6d636288ba1c0da").then(() => {
    BoltML.setSessionID("hello-world");
    BoltML.logEvent("@event", "test_run", {});

    // Close the connection to the BoltML API.
    BoltML.close();
});
0.0.3

6 months ago

0.0.2

6 months ago

0.0.1

6 months ago