0.0.1 • Published 5 years ago

igc-analyzer v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

IGC Analyzer

This is a port of an IGC parser/analyzer that I've wrote in PHP a few years ago. The conversion is a little buggy right now, so don't use it for anything serious.

Usage

Installation:

npm i igc-analyzer --save

And than in your script:

const IGCAnalyzer = require('igc-analyzer');
const fs = require('fs');

const igcData = fs.readFileSync('test2.igc', 'utf8');

const analyzer = new IGCAnalyzer(igcData);
const analyzedData = analyzer.parse(true, true);