bitloops-ermis-publisher
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

Bitloops

bitloops-ermis-publisher

Bitloops Ermis publisher library for the browser and node.js written in TypeScript

Usage

Installing

Using npm:

$ npm install bitloops-ermis-publisher

Using yarn:

$ yarn add bitloops-ermis-publisher

TypeScript usage Example

import app from 'bitloops-ermis-publisher';

// You will get this from your Console in your Workflow information
const bitloopsConfig = {
	apiKey: "kgyst344ktst43kyygk4tkt4s",
	server: "bitloops.net",
	environmentId: "3c42a5ef-fe21-4b50-8128-8596ea47da93",
	workspaceId: "4f7a0fc5-fe2f-450a-b246-11a0873e91f0",
	messagingSenderId: "742387243782",
}

const bitloops = app.initialize(bitloopsConfig);

bitloops.publish('my-topic', 'my-event', {myData: 'Hello World'});

## Questions?

Please post your questions on [Stack Overflow](https://stackoverflow.com) making sure you use the **Bitloops** tag and someone from the Bitloops team or the community will make sure to help you.

Alternatively feel free to [submit an Issue on GitHub](https://github.com/bitloops/bitloops-ermis-subscriber/issues/new).

/bitloops-ermis-publisher/

    Package Sidebar

    Install

    npm i bitloops-ermis-publisher

    Weekly Downloads

    0

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    17.9 kB

    Total Files

    29

    Last publish

    Collaborators

    • giorgosnty
    • danias
    • elli
    • varagos