trvl-weather

0.0.1 • Public • Published

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 - ✈️ Reshaping Travel Experience
  • trvl-wifi - 📡 Find free wifi spots near your
  • trvl-currency - 💵 A foreign exchange rates and currency conversion

License

MIT © Bu Kinoshita

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i trvl-weather

    Weekly Downloads

    0

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • bukinoshita