all-city-weather-report

1.0.4 • Public • Published

Welcome to all-city-weather-report 👋

Version License: ISC

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!

Package Sidebar

Install

npm i all-city-weather-report

Weekly Downloads

1

Version

1.0.4

License

ISC

Unpacked Size

8.17 kB

Total Files

3

Last publish

Collaborators

  • sakthi_0309