A basic CLI to calculate the distance and journey time from origins and destinations held in a CSV file.
npm install mhingston/distance-matrix
First insert your Google Maps API key into .env
.
node app.js --input=input.csv --origin-header=Origin --destination-header=Destination --output=output.csv