0.0.1 • Published 7 years ago

trvl-weather v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

trvl-weather

View the latest weather forecasts, maps, news and alerts

Codeship Status for bukinoshita/trvl-weather

GitHub license

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