@zipsesports/sos-wrapper
Typed isomorphic wrapper for the Rocket League SOS Overlay System project suite
Background
We're interested in the SOS Overlay System plugin for Bakke's Mod, a mod for esports title Rocket League. We wrote this package to make developing against the WebSocket interface's rebroadcasting relay easier.
Install
npm install @zipsesports/sos-wrapper
Usage
See test.ts
.
API
import Emittery from "emittery";
declare type EventDataMap = {
"wsRelay:info": string;
"game:update_state": {
};
};
export default function wrap(
port?: number
): Promise<Emittery.Typed<EventDataMap>>;
License
MIT License, see LICENSE
.