0.0.1 • Published 7 years ago
trvl-weather v0.0.1
trvl-weather
View the latest weather forecasts, maps, news and alerts
Install
$ npm install --save trvl-weather
Usage
const trvlWeather = require('trvl-weather')
trvlWeather('new-york').then(weather => {
console.log(weather)
})
API
trvlWeather(location, unit)
location
Type: string
Required
Get weather from location
unit
Type: string
Default: c
Options: c
or f
Choose unit in Celsius or Fahrenheit
Related
- trvl - :airplane: Reshaping Travel Experience
- trvl-wifi - :satellite: Find free wifi spots near your
- trvl-currency - :dollar: A foreign exchange rates and currency conversion
License
MIT © Bu Kinoshita
0.0.1
7 years ago