krp-sharedmemory-client
v2.1.1
Published
Node.js Wrapper to communicate with Kart Racing Pro Client.
Downloads
160
Readme
krp-sharedmemory-client
Node.js Wrapper to communicate with Kart Racing Pro Client.
krp-sharedmemory-client is the client for the krp-sharedmemory-plugin.
Requirements
Installing
This package was tested under Node.js 18.17.0 x64.
Kart Racing Pro release13e was used while testing.
npm install krp-sharedmemory-client
Documentation
Events
| Event | Description | | -------------- | --------------------------- | | "connected" | Shared Memory connected. | | "disconnected" | Shared Memory disconnected. | | "pluginInfo" | pluginInfo updated. | | "...Info" | ...Info updated. |
Example
const wrapper = new Wrapper(Config);
wrapper.on("connected", () => {
console.log("Connected!");
});
License
Released under the MIT License.