npm

npm’s 2019 JavaScript ecosystem survey analysis is now available! Get your copy here »

right-track-transit-nysta

1.0.1 • Public • Published

NYS Thruway Authority

node module: right-track-transit-nysta
GitHub repo: right-track/right-track-transit-nysta


This module is an implementation of a Right Track Transit Agency used to create a real-time Transit Feed for the New York State Thruway Authority, which is used in the various Right Track Projects.

Documentation

Documentation about the RightTrackTransitAgency class and TransitFeed classes can be found in the right-track-transit project and online at https://docs.righttrack.io/right-track-transit.

Usage

This example builds a TransitFeed for NYSTA:

const nysta = require('right-track-transit-nysta');
 
nysta.loadFeed(function(err, feed) {
  if ( !err ) {
    console.log(JSON.stringify(feed, null, 2));
  }
});

Keywords

none

install

npm i right-track-transit-nysta

Downloadsweekly downloads

10

version

1.0.1

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability