wpilog-parser
v2.2.0
Published
Read WPILib wpilog data log files in TypeScript & JavaScript
Readme
wpilog-parser
Read WPILib data log (.wpilog) files in TypeScript & JavaScript.
Install
npm install wpilog-parserUsage
import { readFile } from 'node:fs/promises';
import { readRecords, decodeRecords } from 'wpilog-parser';
const bytes = await readFile('./example.wpilog');
for (const record of decodeRecords(readRecords(bytes))) {
console.log(record);
}Agent skill
This package ships an Agent Skill at skills/wpilog-parser/SKILL.md that teaches AI coding agents how to use the library. Install it into your project with either:
# https://skills.sh/
npx skills add jonahsnider/wpilog-parser# https://github.com/antfu/skills-npm
npx skills-npmDevelopment
vp install
vp test
vp pack