Skip to content

Sakthi-G/all-city-weather-report-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 

Repository files navigation

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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published