{"id":16564997,"url":"https://github.com/k-yle/gtfs-types","last_synced_at":"2026-03-16T11:06:31.332Z","repository":{"id":42841326,"uuid":"263517277","full_name":"k-yle/gtfs-types","owner":"k-yle","description":"🚂 Typescript definitions for the GTFS Standard","archived":false,"fork":false,"pushed_at":"2023-08-23T03:42:29.000Z","size":159,"stargazers_count":10,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-23T19:06:17.945Z","etag":null,"topics":["gtfs","gtfs-realtime","types"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/k-yle.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-05-13T03:39:25.000Z","updated_at":"2024-04-11T17:48:52.000Z","dependencies_parsed_at":"2023-12-06T03:44:35.703Z","dependency_job_id":null,"html_url":"https://github.com/k-yle/gtfs-types","commit_stats":{"total_commits":20,"total_committers":7,"mean_commits":2.857142857142857,"dds":0.5,"last_synced_commit":"2ef229ef4bbf6179992b65846068e35136a1042f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-yle%2Fgtfs-types","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-yle%2Fgtfs-types/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-yle%2Fgtfs-types/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-yle%2Fgtfs-types/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k-yle","download_url":"https://codeload.github.com/k-yle/gtfs-types/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244306084,"owners_count":20431737,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gtfs","gtfs-realtime","types"],"created_at":"2024-10-11T20:45:46.110Z","updated_at":"2026-03-16T11:06:26.299Z","avatar_url":"https://github.com/k-yle.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gtfs-types\n\n[![Build Status](https://github.com/k-yle/gtfs-types/workflows/build/badge.svg)](https://github.com/k-yle/gtfs-types/actions)\n[![npm version](https://badge.fury.io/js/gtfs-types.svg)](https://badge.fury.io/js/gtfs-types)\n\nThis package exposes TypeScript type definitions for the [GTFS](https://developers.google.com/transit/gtfs) Standard and the [GTFS Realtime](https://developers.google.com/transit/gtfs-realtime/reference) Standard.\n\n# Usage\n\nInstall the package from npm:\n\n```sh\nnpm install -D gtfs-types\n```\n\nUsage:\n\n```ts\nimport { Route } from \"gtfs-types\";\n\nconst myRoute: Route = {\n  route_id: \"abc123\",\n  route_short_name: \"24\",\n  route_long_name: \"Crofton Downs to Box Hill\",\n};\n```\n\nIf you use typescript 3.8+ you can also use the type-only import syntax:\n\n```ts\nimport type { Route } from \"gtfs-types\";\n```\n\nFor a list of all types, see the [src](https://github.com/k-yle/gtfs-types/tree/master/src) folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk-yle%2Fgtfs-types","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk-yle%2Fgtfs-types","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk-yle%2Fgtfs-types/lists"}