This package has been deprecated

Author message:

This package is no longer updated on npm - install it directly from github.com:right-track/right-track-transit-mta

right-track-transit-mta

1.1.4 • Public • Published

Metropolitan Transportation Authority

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


This module is an implementation of a Right Track Transit Agency used to create a real-time Transit Feed for the MTA in New York City, 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 the MTA:

const mta = require('right-track-transit-mta');

mta.loadFeed(function(err, feed) {
  if ( !err ) {
    console.log(JSON.stringify(feed, null, 2));
  }
});

Readme

Keywords

none

Package Sidebar

Install

npm i right-track-transit-mta

Weekly Downloads

4

Version

1.1.4

License

MIT

Unpacked Size

81.5 kB

Total Files

12

Last publish

Collaborators

  • dwaring87