1.5.1 • Published 5 months ago

inhumate-rti v1.5.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 months ago

Inhumate RTI Javascript Client

This is the Javascript/TypeScript/Web client for the Inhumate RTI (RunTime Infrastructure), part of the Inhumate Suite.

See the Inhumate Suite documentation for more in-depth topics and an overview of the software suite.

Installing

Using a package manager

Such as NPM:

npm install --save inhumate-rti

Using a bundled script file

Download the RTI Client JS Bundle from the Inhumate Downloads site.

Then include it in a script tag in your HTML file:

<script src="inhumate-rti-bundle-x.x.xx.js"></script>

Quick Start

import * as RTI from "inhumate-rti"
const rti = new RTI.Client({ application: "JS RTI App" })
rti.on("connect", () => console.log("RTI connected"))
rti.subscribeText("hello", (channel, message) => console.log(`Received: ${message}`))
rti.whenConnected(() => rti.publishText("hello", "Hello World!"))

For a more complete usage example, see usage_example.ts.

Building and running tests

Clone the project from GitHub, and in the js folder, using Node (version 20 tested):

npm install
npm run build
npm test # with the broker running
npm start # for a usage example

Feedback & Contributing

Feedback and contributions of any kind are welcome.

1.2.0

7 months ago

1.5.1

5 months ago

1.5.0

5 months ago

1.4.0

6 months ago

1.3.1

6 months ago

1.2.2

6 months ago

1.3.0

6 months ago

1.2.1

7 months ago

1.1.1

11 months ago

1.1.0

11 months ago

1.1.2

11 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

1 year ago

1.0.0

1 year ago

0.0.93

1 year ago

0.0.92

1 year ago

0.0.91

1 year ago

0.0.90

1 year ago

0.0.30

1 year ago

0.0.27

1 year ago

0.0.26

1 year ago