tcxparse

1.0.1 • Public • Published

build status

parseTCX

parse a TCX file - returns a JS object with all interesting values including Foot Pod extension and footpod calibration.

var tcxParser = require('tcxparse');
tcxParser.parseFile(tcxFile.path, function(err, tcx) {
    if (!err) {
        var details = tcx.getFootpodDetails();
        console.log(JSON.stringify(details));
        console.log(JSON.stringify(tcx));
    }
});

Foot pod calibration logic shamelessly stolen from:

http://fellrnr.com/wiki/Garmin_Foot_Pod_Calibration

All because I don't have a Windows box!

Used by 'footpod' a Web UI for Foot Pod calibration

/tcxparse/

    Package Sidebar

    Install

    npm i tcxparse

    Weekly Downloads

    3

    Version

    1.0.1

    License

    none

    Last publish

    Collaborators

    • zzo