npm-global-weather
v1.0.0
Published
An simple weather api
Downloads
2
Readme
npm-global-weather
Install
npm i npm-global-weather
To start using the package use the example below
// Real time on (Json Is converted to string)
const { Weather } = require('weather-api')
const app = new Weather('toronto', realtime='yes', json=null)
// Real time off (Json is default)
const { Weather } = require('weather-api')
const app = new Weather('toronto', realtime=null, json=true)