busseur
v0.3.1
Published
A TriMet CLI tool
Downloads
5
Readme
Busseur
npm install -g busseur
A small TriMet command line tool for bus arrivals. It will automatically refresh every minute. It's great for squeezing in those extra few minutes of coding.
Also, it's written with RxJs so it's declarative. It's kind of like React, every time your state changes, it throws away everything on the screen and repaints (minus the diffing).
Usage
busseur [options]
Options:
-h, --help output usage information
-V, --version output the version number
-s, --stop <n> filter to a specic TriMet stop id (required)
-r, --route [n] filter to a specific set of routes (repeatable)
-n, --nickname [nickname] a custom nickname for the location
Tests
npm install
npm test
Busseur server
TriMet only allows access to their api with a token obtained on their developer website. If you want to run your own server with your own api key, check out the busseur-server repo.