@neilujd/activities-lab
POC that permit to track basic activities using GPS data.
Last updated 5 months ago by neilujd .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @neilujd/activities-lab 
SYNC missed versions from official npm registry.

Description

Small lib that permit to compute data from tracking activities data.

Requirements

  1. Node version should be >=12

  2. A Dark Sky API key

  3. Installation

npm i @neilujd/activities-lab

How to use

  1. Set the environment variable DARK_SKY_API_KEY

  2. Here is an example :

import { Track, Activity, Marathon } from 'activities-lab';
import waypoints from 'activities-lab/sample.js';

const track = new Track(waypoints);
const activity = new Activity(Activity.getSportTypes().WALKING, track);

console.log(activity.isValid());

Test

npm test

Current Tags

  • 1.1.0                                ...           latest (5 months ago)

2 Versions

  • 1.1.0                                ...           5 months ago
  • 1.0.0                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |