weather-app-datas
v1.0.2
Published
Gives the weather datas of various cities
Downloads
4
Maintainers
Readme
Gives the weather datas of various cities
Install
npm install weather-app-datas
Usage
// 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
Author
👤 Madhumita Ashok Kumar
- Github: @madhumitaAshok
Show your support
Give a ⭐️ if this project helped you!