0.0.4 • Published 11 years ago

iracing v0.0.4

Weekly downloads
14
License
-
Repository
-
Last release
11 years ago

iRacing Bindings for Node

This is a native C++ library that binds the iRacing SDK to NodeJS so that you can access it from Javascript.

This project is new and currently under heavy development.

Example Usage

var iRacing = require('iracing').iRacing;
var ir = new iRacing();

console.log("Waiting for connection...");

var cd;
while (true) {
  if (ir.waitForDataReady(60)) {
    console.log("Connection established");
    cd = ir.getCarAndDriver();
    console.log(cd.driverName + " is racing on " + ir.getTrack());
    break;
  }
}
0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago