imekachi / crea-1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Train Routes CLI App

Find the fastest route from station to station.

Installation

> git clone https://github.com/imekachi/crea-1.git
> cd crea-1
> yarn

Quick Start

You can use the example routes file 'routes.csv'

> node index.js --file=routes.csv
? Departure station? > A
? Arrival station? > C
Your trip from A to C includes 1 stops and will take 10 minutes.

Or you can use your route csv file

> node index.js --file=path/to/your/routes.csv

About


Languages

Language:JavaScript 100.0%