1.0.4 ā€¢ Published 2 years ago

all-city-weather-report v1.0.4

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

It is used to return cities weather report

Install

npm install all-city-weather-report

Usage

// This package exports three functions, i.e) allTimeZones(),  timeForOneCity(),  nextNhoursWeather()
let {
  allTimeZones,
  timeForOneCity,
  nextNhoursWeather,
} = require("all-city-weather-report");

// => citiesWeatherReport consists of cities basic weather details like CityName, Temp, Humidity, Precipitation, etc
let citiesWeatherReport = allTimeZones();

// => dateAndTime consists of Date, Time along with city Name for provided city name
let dateAndTime = timeForOneCity(cityName);

// => consecutiveHrsData consists of consecutive hours temperature
let consecutiveHrsData = nextNhoursWeather(
  dateAndTime,
  hours,
  citiesWeatherReport
);

Author

šŸ‘¤ Sakthivel Ganapathy

Show your support

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

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago