signalk-provider-vor1415

    0.1.1 • Public • Published

    signalk-provider-vor1415

    This provider takes the VOR2014/2015 JSON stream and transforms it into Signal K vessel information

    Installation

    npm install --save signalk-provider-vor1415

    Usage

    Use in a Signal K server or standalone (as a Node.js stream):

    var options = {
      interval: 1800000 // 30 minutes between downloads
    };
    
    var Race = require('signalk-provider-vor1415');
    var race = new Race('http://www.volvooceanrace.com/fr/rdc/VOLVO_WEB_LEG2_2014.json', options);
    
    race.on('data', function(data) {
      console.log('delta\n', JSON.stringify(data));
    });
    

    Install

    npm i signalk-provider-vor1415

    DownloadsWeekly Downloads

    5

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators

    • fabdrol