Parse a .skiz file exported from Ski Tracks
$ npm install skiz-parser
import { readFile } from 'node:fs/promises';
import { parseSkizFile } from 'skiz-parser';
const contents = await readFile('./example.skiz');
const result = await parseSkizFile(contents);
console.log(result);
//=> { name: 'Day 1 - 2018/2019', … }
Returns a Promise<SkizTrack>
with the parsed .skiz file.
Type: ArrayBuffer | Buffer
Contents of a .skiz
file.