A terminal app built with node.js that requests data from a weather API (openweathermap)
This apps has args that provide different data according to your wishes.
--location, -l: Returns the temperature of the city. Required
--wind, -w: Returns the speed wind
--coord, -c: Returns coordinates of the city
--unit, -u: Type of unit -> 2 inputs Cel or Far. By default Cel
--all, -all: Returns all the information of previous arguments.
node app.js -l Valencia
If you want to get all the information about a location you only have to add -all to the previous command:
node app.js -all -l Valencia