5.0.0 • Published 3 months ago

gtfs-types v5.0.0

Weekly downloads
13
License
MIT
Repository
github
Last release
3 months ago

gtfs-types

Build Status npm version

This package exposes TypeScript type definitions for the GTFS Standard and the GTFS Realtime Standard.

Usage

Install the package from npm:

npm install -D gtfs-types

Usage:

import { Route } from "gtfs-types";

const myRoute: Route = {
  route_id: "abc123",
  route_short_name: "24",
  route_long_name: "Crofton Downs to Box Hill",
};

If you use typescript 3.8+ you can also use the type-only import syntax:

import type { Route } from "gtfs-types";

For a list of all types, see the src folder.

5.0.0

3 months ago

4.0.0

1 year ago

2.3.0

2 years ago

3.0.0

2 years ago

2.2.0

4 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago