Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

mta-gtfs-static

LiamMartens2kMIT0.0.0-202506300129

This package contains JSON exports of the static GTFS data. It is updated once per day.

mta, gtfs

readme

MTA GTFS Static

This package contains JSON exports of the static GTFS data. It is updated once per day.

Usage

You can either import either the JS or JSON files. Depending on your needs.

import subway_routes from "mta-gtfs-static/gtfs_js/subway/routes.js";
import subway_routes from "mta-gtfs-static/gtfs_json/subway/routes.js";