Skip to content

skaughtx0r/node-iracing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iRacing Bindings for Node

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

Example Usage

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

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

// Wait for the game connection
iRacing.ready(function () {
  console.log("Connected!");
  console.log(this.sessions.weekend.TrackDisplayName);

  // Execute code on every simulation tick
  this.onTick(function () {
    console.log(this.getTelemetry('Throttle'));
  });
});

About

iRacing SDK bindings for NodeJS

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 60.0%
  • C 35.9%
  • JavaScript 3.5%
  • Python 0.6%