inhumate-rti v1.5.1
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.
- Please file bug reports and/or feature requests as GitHub issues
- Suggest code changes by creating a pull request
- For any other questions, comments or inquiries, get in touch
6 months ago
4 months ago
4 months ago
4 months ago
5 months ago
5 months ago
5 months ago
6 months ago
10 months ago
10 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago