1.0.2 ā€¢ Published 2 years ago

weather-app-datas v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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

Show your support

Give a ā­ļø if this project helped you!