weather-app-datas

1.0.2 • Public • Published

Welcome to weather-app-datas 👋

Version Maintenance License: ISC

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!

Package Sidebar

Install

npm i weather-app-datas

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

8.67 kB

Total Files

3

Last publish

Collaborators

  • madhumita_ashok_kumar