A CLI client for public transit in Sweden to make it super easy for you to search trips and/or stops, and also save them locally to make finding the next bus/tram much easier.
$ npm install -g tramz
$tramz [command]
Will search a trip you have saved locally.
$ tramz homeToWork
Will search for a trip from origin to destination, with an optional via stop.
$ tramz 'Askims Stationsväg' 'Solrosgatan' 'Nordstan'
This also works for locally saved stops.
$ tramz home work starbucks
Will list the stops you have saved locally.
$ tramz stops
Will search for a stop with a name similar to the string you provided and save it for you locally.
$ tramz stops add 'Masthuggstorget'
Will remove a stop that you have saved locally based on the name you assigned to it.
$ tramz stops remove home
Will list the trips you have saved locally.
$ tramz trips
Will search for a trip from origin to destination, with an optional via stop and then save it locally for you.
$ tramz trips add 'Askims Stationsväg' 'Solrosgatan' 'Nordstan'
Will remove a trip that you have saved locally based on the name you assigned to it.
$ tramz trips remove homeToWork