{"_id":"6cclab-ibt-telemetry","_rev":"1-45bec4f4e4cbbcff49b79eeed334c4e6","name":"6cclab-ibt-telemetry","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.2":{"name":"6cclab-ibt-telemetry","version":"0.0.2","keywords":["iracing","irsdk","ibt","telemetry"],"author":{"name":"Steven Inskip"},"license":"MIT","_id":"6cclab-ibt-telemetry@0.0.2","maintainers":[{"name":"anpato","email":"anpato1994@gmail.com"}],"dist":{"shasum":"00446c87c666ff181d4f846afcaee3684f8929df","tarball":"https://registry.npmjs.org/6cclab-ibt-telemetry/-/6cclab-ibt-telemetry-0.0.2.tgz","fileCount":18,"integrity":"sha512-/CCm8PDYUUVK3QI4Wbws5kDzPKgXwi2T5au60BmEtIPPhEkQhFFC0d6Vydc+0Pzq3Cw+mLU1zOMwyYb+uASXtg==","signatures":[{"sig":"MEYCIQDjpS8X6aLfOzXsSbsNUuy6Vsjaw0KlXsIVPfGYnhbSEwIhALE7q+xrHKtdRAQKya5i3RvEAmmFIX6z5pWUh1J/+foR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44498},"main":"lib/index.js","_from":"file:6cclab-ibt-telemetry-0.0.2.tgz","scripts":{"lint":"standard -v \"src/**/*.js\"","compile":"pnpm run lint && babel -d lib/ src/","prepublish":"pnpm run compile","test:dependencies":"depcruise --validate .dependency-cruiser.js src"},"_npmUser":{"name":"anpato","email":"anpato1994@gmail.com"},"_resolved":"/private/var/folders/35/0l_5473971d1mcjw0z1pbtfw0000gn/T/c0d5a69af5646c2ed837670d219dba02/6cclab-ibt-telemetry-0.0.2.tgz","_integrity":"sha512-/CCm8PDYUUVK3QI4Wbws5kDzPKgXwi2T5au60BmEtIPPhEkQhFFC0d6Vydc+0Pzq3Cw+mLU1zOMwyYb+uASXtg==","_npmVersion":"10.2.4","description":"iRacing ibt parser","directories":{},"_nodeVersion":"20.11.0","dependencies":{"rxjs":"^6.0.0","ramda":"^0.24.1","js-yaml":"^4.1.0"},"publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"standard":"^10.0.2","babel-cli":"^6.24.1","babel-core":"^6.24.1","dependency-cruiser":"6.0.0","babel-preset-es2015":"^6.24.1","babel-preset-stage-0":"^6.24.1"},"_npmOperationalInternal":{"tmp":"tmp/6cclab-ibt-telemetry_0.0.2_1724189415955_0.7941129749810241","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"6cclab-ibt-telemetry","version":"1.0.1","description":"iRacing ibt parser","keywords":["iracing","irsdk","ibt","telemetry"],"author":{"name":"Steven Inskip"},"license":"MIT","repository":{"type":"git"},"main":"dist/index.js","types":"dist/index.d.ts","dependencies":{"js-yaml":"3.13.1","ramda":"0.26.1","rxjs":"6.6.7"},"devDependencies":{"@types/js-yaml":"3.12.1","@types/node":"12.12.21","@types/ramda":"0.26.38","@typescript-eslint/eslint-plugin":"2.12.0","@typescript-eslint/parser":"2.12.0","dependency-cruiser":"6.0.0","eslint":"6.8.0","typescript":"3.7.4"},"scripts":{"compile":"tsc -p tsconfig.build.json","lint":"eslint '**/*.{js,ts}'","test:dependencies":"depcruise --validate .dependency-cruiser.js src","prepublish":"npm run compile"},"_id":"6cclab-ibt-telemetry@1.0.1","_integrity":"sha512-x04/ymspsA20dJg9S3oGsdiIab4WWkPQyb+zMjp4b9cdlNMPWzV5pCkcxChKqBtjPXm/OxfTxE30L00IorwfTg==","_resolved":"/private/var/folders/35/0l_5473971d1mcjw0z1pbtfw0000gn/T/000f11f38096fcb91437bc0f7bdc49ef/6cclab-ibt-telemetry-1.0.1.tgz","_from":"file:6cclab-ibt-telemetry-1.0.1.tgz","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-x04/ymspsA20dJg9S3oGsdiIab4WWkPQyb+zMjp4b9cdlNMPWzV5pCkcxChKqBtjPXm/OxfTxE30L00IorwfTg==","shasum":"1cbb261e5f8b3f69ef1a7abbbb58eadc72e44663","tarball":"https://registry.npmjs.org/6cclab-ibt-telemetry/-/6cclab-ibt-telemetry-1.0.1.tgz","fileCount":37,"unpackedSize":60147,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDkbKwcgYY04E9dV52zgucX8nvIzCc/gnqJL+RPgGEjJAiEA7p6Ic4yhE1N/qGEayPWCZBzjsK3EFSjVqQqk1JXVqtM="}]},"_npmUser":{"name":"anpato","email":"anpato1994@gmail.com"},"directories":{},"maintainers":[{"name":"anpato","email":"anpato1994@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/6cclab-ibt-telemetry_1.0.1_1724190809058_0.2587874319835688"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-20T21:30:15.954Z","modified":"2024-08-20T21:53:29.450Z","0.0.2":"2024-08-20T21:30:16.096Z","1.0.1":"2024-08-20T21:53:29.257Z"},"author":{"name":"Steven Inskip"},"license":"MIT","keywords":["iracing","irsdk","ibt","telemetry"],"description":"iRacing ibt parser","maintainers":[{"name":"anpato","email":"anpato1994@gmail.com"}],"readme":"# iRacing Telemetry Parser\n\nYup, that's right, this is a Node.js library for processing iRacing's ibt telemetry files.\n\nThis library has been built with memory consumption in mind, and therefore the data is streamed from the file\ninstead of being loaded completely in memory. This is advantageous when needing to deal with back pressure from\na slower services consuming the file.\n\nThis ibt-telemetry library is a 100% complete Node.js library for the processing of telemetry files. The library has\nno requirements on any DLL or Windows library making this completely capable of being run on OSX, and *nix too.\n\n## Loading up the telemetry\n\n```javascript\nconst pathToIbt = '/path/to/telemetry.ibt'\nconst telemetry = Telemetry.fromFile(pathToIbt)\n\nconst telemetryId = telemetry.uniqueId()\n// telemetryId = \"188953-12312494-123910230\"\n\nconst sessionInfo = telemetry.sessionInfo\n// sessionInfo = {}\n```\n\n## Reading telemetry update samples\n\n#### Generator\n```javascript\nforeach (sample in telemetry.samples()) {\n  const speed = sample.getParam('speed')\n  // speed = {\n  //   name: \"Speed\",\n  //   description: \"GPS vehicle speed\",\n  //   value: 200.32943,\n  //   unit: \"m/s\"\n  // }\n  \n  const sampleJson = sample.toJSON()\n  // sampleJson = {\n  //   \"AirTemp\": {\n  //     \"unit\": \"C\",\n  //     \"value\": 25.55555534362793\n  //   },\n  //   \"Alt\": {\n  //     \"unit\": \"m\",\n  //     \"value\": 42.163856506347656\n  //   },\n  //   \"Brake\": {\n  //     \"unit\": \"%\",\n  //     \"value\": 1\n  //   },\n  //   \"BrakeRaw\": {\n  //     \"unit\": \"%\",\n  //     \"value\": 0\n  //   },\n  //   \"CFshockDefl\": {\n  //     \"unit\": \"m\",\n  //     \"value\": 0.04878242313861847\n  //   }\n  // }\n```\n\n#### Rx.JS\n```javascript\nconst samples$ = Rx.Observable.from(telemetry.samples())\n\nsamples$\n  .subscribe(s => console.log(s.toJSON()))\n```\n\n","readmeFilename":"README.md","repository":{"type":"git"}}