# iracing

> Bindings to the iRacing SDK

Latest version **0.0.4** (published 2013-01-26) · 0 weekly downloads

## Install

```sh
npm install iracing
pnpm add iracing
yarn add iracing
bun add iracing
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2013-01-26 |
| First published | 2013-01-23 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Author | Ryan LeFevre |
| Maintainers | meltingice |
| Keywords | iracing, racing, cars, native, c++, sdk |

## Links

- npm: https://www.npmjs.com/package/iracing
- npm.io page: https://npm.io/package/iracing

## Dependencies (2)

- [js-yaml](https://npm.io/package/js-yaml.md) >= 1.0.3
- [coffee-script](https://npm.io/package/coffee-script.md) 1.4.0

## Recent versions

- 0.0.4 (latest) — 2013-01-26
- 0.0.3 — 2013-01-25
- 0.0.2 — 2013-01-23
- 0.0.1 — 2013-01-23

## README

# 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

``` javascript
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'));
  });
});
```

---
_Source: https://npm.io/package/iracing · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
