Setup
- Clone the repo
- run
npm install
to install dependencies - set up your
.env
file and include you Mapbox and DarkSky api keys in the file
Usage
Run node app.js
+ and address string of any type (zip code, city name, etc.). If your returned information
is not for the location that you intended, be more specific within your address string.
Example
$ node app.js bucharest
Current temperature in București, Bucureşti, Romania is 2.18C / 35.93F.
Conditions are currently: Overcast.
What you should expect: Mostly cloudy throughout the day.
$