garmin-tcx-parser
v1.0.6
Published
Convert Garmin's Tcx files into usable data for your projects.
Downloads
6
Readme
Garmin .tcx parser
Get activity metrics from Garmin .tcx files to use on your projects.
Available Metrics:
- Heart Rate
- Maximum Heart Rate Bpm
- Average Heart Rate Bpm
- Position
- Total Time in seconds
- Distance in meters
- Altitude in meters
- Calories
- Maximum Speed
Install
npm i garmin-tcx-parser
How to use
Place your .tcx file inside the Public folder of your project.
import {
MaximumHeartRateBpm,
HeartRateBpm,
AverageHeartRateBpm,
Position,
TotalTimeSeconds,
DistanceMeters,
AltitudeMeters,
Calories,
Maximum Speed
} from "garmin-tcx-parser";