nextcaltrain
Find the next Caltrain
Last updated a year ago by parshap .
Public Domain · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install nextcaltrain 
SYNC missed versions from official npm registry.

nextcaltrain

Find the next Caltrain

CLI Usage

SYNOPSIS
      nextcaltrain [OPTIONS] FROM TO

DESCRIPTION
      nextcaltrain prints the schedule of the next Caltrain from the
      FROM station to the TO station.

OPTIONS

      --number NUMBER, -n NUMBER
          Show NUMBER of possible trips. Default is 1.

EXAMPLES
  nextcaltrain sf sunnyvale
  nextcaltrain -n 5 "san fran" "san mateo"

Example

$ nextcaltrain sf smat
From: San Francisco
To:   San Mateo

12:07pm – 12:40pm
SB 146 Local, 33 min, 7 stops
 > 12:07pm San Francisco
 > 12:12pm 22nd Street
 > 12:17pm Bayshore
 > 12:23pm So. San Francisco
 > 12:27pm San Bruno
 > 12:31pm Millbrae
 > 12:35pm Burlingame
 > 12:40pm San Mateo

Data

Schedule data is provided by Caltrain in the GTFS format. This data is stored in its original format in the data/ directory and also as JSON in data.json. This data can be updated using the update-data script.

See Also

Installation

npm install nextcaltrain

Current Tags

  • 2.1.10                                ...           latest (a year ago)

20 Versions

  • 2.1.10                                ...           a year ago
  • 2.1.9                                ...           2 years ago
  • 2.1.8                                ...           2 years ago
  • 2.1.7                                ...           3 years ago
  • 2.1.6                                ...           3 years ago
  • 2.1.5                                ...           4 years ago
  • 2.1.4                                ...           4 years ago
  • 2.1.3                                ...           4 years ago
  • 2.1.2                                ...           5 years ago
  • 2.1.1                                ...           5 years ago
  • 2.1.0                                ...           5 years ago
  • 2.0.1                                ...           5 years ago
  • 2.0.0                                ...           5 years ago
  • 1.0.6                                ...           5 years ago
  • 1.0.5                                ...           5 years ago
  • 1.0.4                                ...           6 years ago
  • 1.0.3                                ...           6 years ago
  • 1.0.2                                ...           6 years ago
  • 1.0.1                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (8)
Dev Dependencies (1)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |