final product

This commit is contained in:
2025-12-04 15:37:56 -07:00
parent d9bddd8715
commit 6b746d466f
12 changed files with 399 additions and 348 deletions

View File

@@ -58,7 +58,7 @@ async function loadGtfsStaticInMemory() {
const gtfs = {};
for (const entry of directory.files) {
if (!entry.path.endsWith(".txt")) continue; // only GTFS .txt files
if (!entry.path.endsWith(".txt")) continue;
const fileBuffer = await entry.buffer();
const text = fileBuffer.toString("utf8");
@@ -315,10 +315,6 @@ module.exports = {
getScheduleByRoute,
getScheduleByStationId,
getShapeByRoute,
updateGtfsRt,
loadGtfsStaticInMemory,
gtfs_rt_v,
gtfs_rt_t,
gtfs_rt_a,
}