Skip to content

Get activity metrics from Garmin .tcx files to use on your projects.

Notifications You must be signed in to change notification settings

JMarques1196/garmin-tcx-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Captura de Tela 2023-12-13 às 15 00 29

Import metrics:

 import { 
    
    MaximumHeartRateBpm,
    
    HeartRateBpm,
    
    AverageHeartRateBpm,
    
    Position,
    
    TotalTimeSeconds,
    
    DistanceMeters,
    
    AltitudeMeters,

    Calories,

    Maximum Speed
    
  } from "garmin-tcx-parser";

About

Get activity metrics from Garmin .tcx files to use on your projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published