tcxparse
Parse TCX files - turn the XML into an Object basically plus footpod calibration
Last updated 7 years ago by zzo .
Repository · Original npm · Tarball · package.json
$ cnpm install tcxparse 
SYNC missed versions from official npm registry.

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('parseTCX');
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

Current Tags

  • 1.0.1                                ...           latest (7 years ago)

2 Versions

  • 1.0.1                                ...           7 years ago
  • 1.0.0                                ...           7 years ago
Maintainers (1)
Downloads
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (8)

Copyright 2014 - 2016 © taobao.org |