{"_id":"@bikehopper/data-mirror","_rev":"10-0b0ae62c1ae4e6ac4440e407b8cc1729","name":"@bikehopper/data-mirror","dist-tags":{"latest":"4.4.0"},"versions":{"1.0.0":{"name":"@bikehopper/data-mirror","version":"1.0.0","author":"","license":"SEE LICENSE IN LICENSE.agpl3.0.txt","_id":"@bikehopper/data-mirror@1.0.0","maintainers":[{"name":"arindam1993","email":"arindam.1993@gmail.com"}],"homepage":"https://github.com/bikehopper/data-mirror#readme","bugs":{"url":"https://github.com/bikehopper/data-mirror/issues"},"bin":{"sync-data":"dist/bin/cli.js"},"dist":{"shasum":"39afefced9fb0bd64a359eedcbac8aa35960019d","tarball":"https://registry.npmjs.org/@bikehopper/data-mirror/-/data-mirror-1.0.0.tgz","fileCount":48,"integrity":"sha512-E+SF9p2NDgeAPXpNEpZzDXSGwZcuGfjodTj+48dTxa9VZXVM3a0/yH25o7PhuKyEO5A/CEzPZJ74SRvruuYNuw==","signatures":[{"sig":"MEQCIHUwdGLdZzXnauMqx6aFHffekkgokE13EevW2jFmvhU3AiB9RdVX5yXr6Nf15DSeMANEFyq/VrTbm+zh9o7PA3oAxQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":70587},"main":"index.js","type":"module","gitHead":"d55f938c792659271a7e0bb329403b7235479382","scripts":{"build":"tsc -p tsconfig.json","start":"node dist/index.js","update-data":"curl -X POST \"http://localhost:${PORT}/update-data\""},"_npmUser":{"name":"arindam1993","email":"arindam.1993@gmail.com"},"repository":{"url":"git+https://github.com/bikehopper/data-mirror.git","type":"git"},"_npmVersion":"10.9.3","description":"Node app that mirrors GTFS and OSM data sources for rest of the services","directories":{},"_nodeVersion":"22.19.0","dependencies":{"pino":"^9.11.0","helmet":"^8.1.0","express":"^5.1.0","commander":"^14.0.1","pino-http":"^10.5.0","pino-http-print":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@types/node":"^24.5.2","@types/express":"^5.0.3"},"_npmOperationalInternal":{"tmp":"tmp/data-mirror_1.0.0_1758853109278_0.49820227052274624","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@bikehopper/data-mirror","version":"2.0.0","author":"","license":"SEE LICENSE IN LICENSE.agpl3.0.txt","_id":"@bikehopper/data-mirror@2.0.0","maintainers":[{"name":"arindam1993","email":"arindam.1993@gmail.com"}],"homepage":"https://github.com/bikehopper/data-mirror#readme","bugs":{"url":"https://github.com/bikehopper/data-mirror/issues"},"bin":{"sync-data":"dist/bin/cli.js"},"dist":{"shasum":"db2354a1ea09a244a106f1cc82e8aef2c9fb00a7","tarball":"https://registry.npmjs.org/@bikehopper/data-mirror/-/data-mirror-2.0.0.tgz","fileCount":48,"integrity":"sha512-ZwRUntGZDa4XN9c/rsWUWPBrUQloa0RsZuQECfiOMTnD5YKZpSYDTKKg3N/16EoCP5ZJfvIToLwfk2APqy06GQ==","signatures":[{"sig":"MEYCIQCp0eIhNPNlSUbl5oRghTspjF5TxJMamBGU2faCNhSPZAIhAIYqZ3blZ1Y8Mc9j3LzJh7sSVVMQZ8DMM2T6FDXFpF7V","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":70548},"main":"index.js","type":"module","gitHead":"b0bcb48cd99231e26210f2fc25de7b21f91db42a","scripts":{"build":"tsc -p tsconfig.json","start":"node dist/index.js","update-data":"curl -X POST \"http://localhost:${PORT}/update-data\""},"_npmUser":{"name":"arindam1993","email":"arindam.1993@gmail.com"},"repository":{"url":"git+https://github.com/bikehopper/data-mirror.git","type":"git"},"_npmVersion":"10.9.3","description":"Node app that mirrors GTFS and OSM data sources for rest of the services","directories":{},"_nodeVersion":"22.19.0","dependencies":{"pino":"^9.11.0","helmet":"^8.1.0","express":"^5.1.0","commander":"^14.0.1","pino-http":"^10.5.0","pino-http-print":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@types/node":"^24.5.2","@types/express":"^5.0.3"},"_npmOperationalInternal":{"tmp":"tmp/data-mirror_2.0.0_1758911286892_0.8222519990087329","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@bikehopper/data-mirror","version":"3.0.0","author":"","license":"SEE LICENSE IN LICENSE.agpl3.0.txt","_id":"@bikehopper/data-mirror@3.0.0","maintainers":[{"name":"arindam1993","email":"arindam.1993@gmail.com"}],"homepage":"https://github.com/bikehopper/data-mirror#readme","bugs":{"url":"https://github.com/bikehopper/data-mirror/issues"},"bin":{"sync-data":"dist/bin/cli.js"},"dist":{"shasum":"c985e33eec9ee10908b228ab77918e72989b1a0a","tarball":"https://registry.npmjs.org/@bikehopper/data-mirror/-/data-mirror-3.0.0.tgz","fileCount":49,"integrity":"sha512-1MEOZWzbqMiKQV3GgmHt1eWWhv0j2lHbrCBpr7h5NE+btN6MQfPVi7c5GFhCfBPN8Hv6m38FFtm2cM2BVDZ8LQ==","signatures":[{"sig":"MEYCIQCaMjgv9yVLKvDT7M/nUaLY4BxByJXFewNZj0QKMWNgSQIhAMBy2CBzNbZ+t5Jr/DX/WnKXs34HcKzOIJcVnUwARAoo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71700},"main":"index.js","type":"module","gitHead":"9bf939a9a6240ec54d598ba5e6e637eb0b4cb5c4","scripts":{"build":"tsc -p tsconfig.json","start":"node dist/index.js","update-data":"curl -X POST \"http://localhost:${PORT}/update-data\""},"_npmUser":{"name":"arindam1993","email":"arindam.1993@gmail.com"},"repository":{"url":"git+https://github.com/bikehopper/data-mirror.git","type":"git"},"_npmVersion":"10.9.3","description":"Node app that mirrors GTFS and OSM data sources for rest of the services","directories":{},"_nodeVersion":"22.19.0","dependencies":{"pino":"^9.11.0","helmet":"^8.1.0","express":"^5.1.0","commander":"^14.0.1","pino-http":"^10.5.0","pino-http-print":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@types/node":"^24.5.2","@types/express":"^5.0.3"},"_npmOperationalInternal":{"tmp":"tmp/data-mirror_3.0.0_1759020263499_0.3090916343751653","host":"s3://npm-registry-packages-npm-production"}},"4.0.0":{"name":"@bikehopper/data-mirror","version":"4.0.0","author":"","license":"SEE LICENSE IN LICENSE.agpl3.0.txt","_id":"@bikehopper/data-mirror@4.0.0","maintainers":[{"name":"arindam1993","email":"arindam.1993@gmail.com"}],"homepage":"https://github.com/bikehopper/data-mirror#readme","bugs":{"url":"https://github.com/bikehopper/data-mirror/issues"},"bin":{"sync-data":"dist/bin/cli.js"},"dist":{"shasum":"73368d1b1a2082bb113466309ffd58f59bd85cd6","tarball":"https://registry.npmjs.org/@bikehopper/data-mirror/-/data-mirror-4.0.0.tgz","fileCount":53,"integrity":"sha512-d9W0uSoL8L2ONInZxutqmlN1vRKn+nFM6e82W4yYmqcMaqVR4jgJTPVV/GTfUGjebFyNDhdobxvcW8NW1Mm6Fg==","signatures":[{"sig":"MEUCIQCIvUT8INse5cJnqa6OCzsNlszWV9yKPFg6xiAzB5/4qwIgRhBxg8+pQ/3HKqrc7lbQF0V9Ai4n7AbYk+vhV+/kACI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":74408},"main":"index.js","type":"module","gitHead":"9bf939a9a6240ec54d598ba5e6e637eb0b4cb5c4","scripts":{"build":"tsc -p tsconfig.json","start":"node dist/index.js","update-data":"curl -X POST \"http://localhost:${PORT}/update-data\""},"_npmUser":{"name":"arindam1993","email":"arindam.1993@gmail.com"},"repository":{"url":"git+https://github.com/bikehopper/data-mirror.git","type":"git"},"_npmVersion":"10.9.3","description":"Node app that mirrors GTFS and OSM data sources for rest of the services","directories":{},"_nodeVersion":"22.19.0","dependencies":{"pino":"^9.11.0","helmet":"^8.1.0","express":"^5.1.0","commander":"^14.0.1","pino-http":"^10.5.0","pino-http-print":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@types/node":"^24.5.2","@types/express":"^5.0.3"},"_npmOperationalInternal":{"tmp":"tmp/data-mirror_4.0.0_1759020447882_0.8719634229081665","host":"s3://npm-registry-packages-npm-production"}},"4.1.0":{"name":"@bikehopper/data-mirror","version":"4.1.0","author":"","license":"SEE LICENSE IN LICENSE.agpl3.0.txt","_id":"@bikehopper/data-mirror@4.1.0","maintainers":[{"name":"arindam1993","email":"arindam.1993@gmail.com"}],"homepage":"https://github.com/bikehopper/data-mirror#readme","bugs":{"url":"https://github.com/bikehopper/data-mirror/issues"},"bin":{"sync-data":"dist/bin/cli.js"},"dist":{"shasum":"a741531cfcda7e7d7743cef76251a4869d15ea1a","tarball":"https://registry.npmjs.org/@bikehopper/data-mirror/-/data-mirror-4.1.0.tgz","fileCount":53,"integrity":"sha512-qp1BHCfqSFNzvi/oMYMKvdBJJ4+yrpFFJOL6qvmuqkVHQ8cXa/YR+JSB8+Iit1CgSEP59CEOX/+QTgFF2GfZTA==","signatures":[{"sig":"MEQCIBWAkhWnEaMfxxbiex9HAbafSRXJjz8ELBJ3Hiq4xmqCAiALkmACZM1+y8QTASfc4JhP7hKXW7dhFiz8t+HfaHol+g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":74410},"main":"index.js","type":"module","gitHead":"61f3c2f08362a7f7f61629b53a9a492efe548d36","scripts":{"build":"tsc -p tsconfig.json","start":"node dist/index.js","update-data":"curl -X POST \"http://localhost:${PORT}/update-data\""},"_npmUser":{"name":"arindam1993","email":"arindam.1993@gmail.com"},"repository":{"url":"git+https://github.com/bikehopper/data-mirror.git","type":"git"},"_npmVersion":"10.9.3","description":"Node app that mirrors GTFS and OSM data sources for rest of the services","directories":{},"_nodeVersion":"22.19.0","dependencies":{"pino":"^9.11.0","helmet":"^8.1.0","express":"^5.1.0","commander":"^14.0.1","pino-http":"^10.5.0","pino-http-print":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@types/node":"^24.5.2","@types/express":"^5.0.3"},"_npmOperationalInternal":{"tmp":"tmp/data-mirror_4.1.0_1759020775907_0.25781226086692977","host":"s3://npm-registry-packages-npm-production"}},"4.2.0":{"name":"@bikehopper/data-mirror","version":"4.2.0","author":"","license":"SEE LICENSE IN LICENSE.agpl3.0.txt","_id":"@bikehopper/data-mirror@4.2.0","maintainers":[{"name":"arindam1993","email":"arindam.1993@gmail.com"}],"homepage":"https://github.com/bikehopper/data-mirror#readme","bugs":{"url":"https://github.com/bikehopper/data-mirror/issues"},"bin":{"sync-data":"dist/bin/cli.js"},"dist":{"shasum":"c14b619476344da3a80cddeabe01697986471f1d","tarball":"https://registry.npmjs.org/@bikehopper/data-mirror/-/data-mirror-4.2.0.tgz","fileCount":53,"integrity":"sha512-aIZZceesCHOmth7yjzxeVrlf7xp+p0nWXj8203XwuPFOfe0zLO2coSiDvZ92X5M/LiXQDa6bs0K7ciFsp48pSQ==","signatures":[{"sig":"MEQCIDAm9BVPQ8oZn3ZmH5JWhJ1NdViZlsg2qie9vHNvlaThAiAK3UeT/etJUaH2nyhngeVAvCYsUNjHigogas1uQ5uZbw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":80578},"main":"index.js","type":"module","gitHead":"500234ba02f7ebdc5f0da764d7d48ac1b616cbcc","scripts":{"build":"tsc -p tsconfig.json","start":"node dist/index.js","update-data":"curl -X POST \"http://localhost:${PORT}/update-data\""},"_npmUser":{"name":"arindam1993","email":"arindam.1993@gmail.com"},"repository":{"url":"git+https://github.com/bikehopper/data-mirror.git","type":"git"},"_npmVersion":"10.9.3","description":"Node app that mirrors GTFS and OSM data sources for rest of the services","directories":{},"_nodeVersion":"22.19.0","dependencies":{"pino":"^9.11.0","helmet":"^8.1.0","express":"^5.1.0","commander":"^14.0.1","pino-http":"^10.5.0","pino-http-print":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@types/node":"^24.5.2","@types/express":"^5.0.3"},"_npmOperationalInternal":{"tmp":"tmp/data-mirror_4.2.0_1759033626845_0.5533411730557674","host":"s3://npm-registry-packages-npm-production"}},"4.3.0":{"name":"@bikehopper/data-mirror","version":"4.3.0","author":"","license":"SEE LICENSE IN LICENSE.agpl3.0.txt","_id":"@bikehopper/data-mirror@4.3.0","maintainers":[{"name":"arindam1993","email":"arindam.1993@gmail.com"}],"homepage":"https://github.com/bikehopper/data-mirror#readme","bugs":{"url":"https://github.com/bikehopper/data-mirror/issues"},"bin":{"sync-data":"dist/bin/cli.js"},"dist":{"shasum":"f7d494b05bec9dbaea37cb8bb575dd694b3021fe","tarball":"https://registry.npmjs.org/@bikehopper/data-mirror/-/data-mirror-4.3.0.tgz","fileCount":58,"integrity":"sha512-epNPpYndUgW36JC/NPJ16jh2q9NWgRRqCg0oSzxjcx4yZ96QszA0xcTrSGyWIaOb1DOH8dWNhiWhARbq/LjQXQ==","signatures":[{"sig":"MEUCIAnmzNHiTg64ZuTZP8iC8K+1CQX4z4UdYK0NsmypGQruAiEAwdVSSmKbL8jHTU4OYxwRXL/GSLWP+zWbbUZ4dYW7co4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":77110},"main":"index.js","type":"module","gitHead":"8c8cdd28c1da4bc83ab726baf14c0973b2f04b20","scripts":{"build":"tsc -p tsconfig.json","start":"node dist/index.js","update-data":"curl -X POST \"http://localhost:${PORT}/update-data\""},"_npmUser":{"name":"arindam1993","email":"arindam.1993@gmail.com"},"repository":{"url":"git+https://github.com/bikehopper/data-mirror.git","type":"git"},"_npmVersion":"10.9.3","description":"Node app that mirrors GTFS and OSM data sources for rest of the services","directories":{},"_nodeVersion":"22.19.0","dependencies":{"tar":"^7.5.1","pino":"^9.11.0","helmet":"^8.1.0","express":"^5.1.0","commander":"^14.0.1","pino-http":"^10.5.0","pino-http-print":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@types/node":"^24.5.2","@types/express":"^5.0.3"},"_npmOperationalInternal":{"tmp":"tmp/data-mirror_4.3.0_1759379192652_0.9412459761478746","host":"s3://npm-registry-packages-npm-production"}},"4.4.0":{"name":"@bikehopper/data-mirror","version":"4.4.0","author":"","license":"SEE LICENSE IN LICENSE.agpl3.0.txt","_id":"@bikehopper/data-mirror@4.4.0","maintainers":[{"name":"arindam1993","email":"arindam.1993@gmail.com"}],"homepage":"https://github.com/bikehopper/data-mirror#readme","bugs":{"url":"https://github.com/bikehopper/data-mirror/issues"},"bin":{"sync-data":"dist/bin/cli.js"},"dist":{"shasum":"97aeb1295c29052cd08c12b15439159b41b46e77","tarball":"https://registry.npmjs.org/@bikehopper/data-mirror/-/data-mirror-4.4.0.tgz","fileCount":58,"integrity":"sha512-ULoCz9CL8w7keUxwMQrnJ83RYttgPzmtcb3BfE6bVczYa0xnS/PURJNJvlZWh9Tfo+ZUvKDsVQl3WzUSXnesIw==","signatures":[{"sig":"MEUCIEoL+wHG+nxsjIpExaavsmL2N3fkhQuc+EG11qqE/s+wAiEAj6ehiDos6OwsMAwWrX8UuXdrVURvT4aVviSHrshZBus=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":77090},"main":"index.js","type":"module","gitHead":"50e7acb4cf21b65516d77439e5bf3888f06ded17","scripts":{"build":"tsc -p tsconfig.json","start":"node dist/index.js","update-data":"curl -X POST \"http://localhost:${PORT}/update-data\""},"_npmUser":{"name":"arindam1993","email":"arindam.1993@gmail.com"},"repository":{"url":"git+https://github.com/bikehopper/data-mirror.git","type":"git"},"_npmVersion":"9.8.1","description":"Node app that mirrors GTFS and OSM data sources for rest of the services","directories":{},"_nodeVersion":"20.6.0","dependencies":{"tar":"^7.5.1","pino":"^9.11.0","helmet":"^8.1.0","express":"^5.1.0","commander":"^14.0.1","pino-http":"^10.5.0","pino-http-print":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@types/node":"^24.5.2","@types/express":"^5.0.3"},"_npmOperationalInternal":{"tmp":"tmp/data-mirror_4.4.0_1759552597775_0.8215681958201588","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-09-26T02:18:29.182Z","modified":"2026-01-20T00:25:03.824Z","1.0.0":"2025-09-26T02:18:29.550Z","2.0.0":"2025-09-26T18:28:07.088Z","3.0.0":"2025-09-28T00:44:23.708Z","4.0.0":"2025-09-28T00:47:28.079Z","4.1.0":"2025-09-28T00:52:56.135Z","4.2.0":"2025-09-28T04:27:07.034Z","4.3.0":"2025-10-02T04:26:32.850Z","4.4.0":"2025-10-04T04:36:38.007Z"},"bugs":{"url":"https://github.com/bikehopper/data-mirror/issues"},"license":"SEE LICENSE IN LICENSE.agpl3.0.txt","homepage":"https://github.com/bikehopper/data-mirror#readme","repository":{"url":"git+https://github.com/bikehopper/data-mirror.git","type":"git"},"description":"Node app that mirrors GTFS and OSM data sources for rest of the services","maintainers":[{"email":"andy.k.mccoy@gmail.com","name":"andykmcc"},{"email":"arindam.1993@gmail.com","name":"arindam1993"},{"email":"scott@oceanbase.org","name":"graue"}],"readme":"# data-mirror\r\n\r\nBasic Node server that mirrors the GTFS and OSM PBF files that act as the source of truth for data in other services.\r\n\r\n# Setup\r\n\r\nUse `nvm` https://github.com/nvm-sh/nvm to install the appropriate NodeJS version.\r\n```\r\n$ nvm install\r\n```\r\n```\r\n$ nvm use\r\n```\r\nThis will automatically use the correct Node version defined in `.nvmrc`, you can also install that node version manually\r\n\r\n# Env Vars\r\n\r\nIf setting up for the Bay Area, set the following env vars:\r\n\r\n```\r\nAPI_511_KEY=<API key obtained from https://511.org/>\r\n```\r\n\r\nIf setting up for a different region, you need the full url's for both GTFS and OSM data\r\n\r\n```\r\nGTFS_URL=<full url where you can GET a gtfs.zip file>\r\nOSM_PBF_URL=<full url where you can GET a osm pbf file>\r\n```\r\n\r\n# Building\r\n\r\nThis project uses transpiled Typescript when running. To transpile run:\r\n```\r\nnpm run build\r\n```\r\nthen\r\n```\r\nnpm run start\r\n```\r\nto start the server.","readmeFilename":"README.md"}