skiz-parser
v6.0.6
Published
Parse a .skiz file exported from Ski Tracks
Readme
skiz-parser
Parse a .skiz file exported from Ski Tracks
Install
$ npm install skiz-parserUsage
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', … }API
parseSkizFile(contents)
Returns a Promise<SkizTrack> with the parsed .skiz file.
contents
Type: ArrayBuffer | Buffer
Contents of a .skiz file.
