# right-track-transit-nysta

> Right Track Transit Agency: NYS Thruway Authority

Latest version **1.2.0** (published 2021-12-03) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install right-track-transit-nysta
pnpm add right-track-transit-nysta
yarn add right-track-transit-nysta
bun add right-track-transit-nysta
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2021-12-03 |
| First published | 2018-03-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 148.7 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | David Waring |
| Maintainers | dwaring87 |

## Links

- npm: https://www.npmjs.com/package/right-track-transit-nysta
- Repository: https://github.com/right-track/right-track-transit-nysta
- Homepage: https://righttrack.io
- Issues: https://github.com/right-track/right-track-transit-nysta/issues
- npm.io page: https://npm.io/package/right-track-transit-nysta

## Dependencies (2)

- [xml2js](https://npm.io/package/xml2js.md) ^0.4.19
- [right-track-transit](https://npm.io/package/right-track-transit.md) ^1.1.2

## Recent versions

- 1.2.0 (latest) — 2021-12-03
- 1.0.1 — 2019-03-16
- 1.0.0 — 2018-03-09

## README

NYS Thruway Authority
=====================

**node module:** [right-track-transit-nysta](https://www.npmjs.com/package/right-track-transit-nysta)<br />
**GitHub repo:** [right-track/right-track-transit-nysta](https://github.com/right-track/right-track-transit-nysta)

---

This module is an implementation of a [Right Track Transit Agency](https://github.com/right-track/right-track-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](https://github.com/right-track).


### Documentation

Documentation about the `RightTrackTransitAgency` class and `TransitFeed` classes can be found in the
[right-track-transit](https://github.com/right-track/right-track-transit) project
and online at [https://docs.righttrack.io/right-track-transit](https://docs.righttrack.io/right-track-transit).

### Usage

This example builds a `TransitFeed` for NYSTA:

```javascript
const nysta = require('right-track-transit-nysta');

// Optional: override default agency config
nysta.readConfig('/path/to/agency_local.json');

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

---
_Source: https://npm.io/package/right-track-transit-nysta · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
