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";