New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details → →
Socket
Book a DemoSign in
Socket

gtfs-types

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gtfs-types

đźš‚ Typescript definitions for the GTFS Standard

latest
Source
npmnpm
Version
5.1.0
Version published
Weekly downloads
6.4K
34.18%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

gtfs

FAQs

Package last updated on 03 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts