Gives the weather datas of various cities
npm install weather-app-datas> Gives the weather datas of various cities
``sh`
npm install weather-app-datas
`javascript
// This package exports three functions, i.e) allTimeZones(), timeForOneCity(), nextNhoursWeather()
let {
allTimeZones,
timeForOneCity,
nextNhoursWeather,
} = require("weather-app-datas");
let citiesWeatherReport = allTimeZones();
// => citiesWeatherReport consists of cities basic weather details like CityName, Temp, Humidity, Precipitation, etc
let dateAndTime = timeForOneCity(cityName);
// => dateAndTime consists of Date, Time along with city Name for provided city name
let consecutiveHrsData = nextNhoursWeather(
dateAndTime,
hours,
citiesWeatherReport
);
// => consecutiveHrsData consists of consecutive hours temperature
``
š¤ Madhumita Ashok Kumar
- Github: @madhumitaAshok
Give a āļø if this project helped you!