Skip to content

shinyxn/weather-info-fast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weather-info-fast

Fastly fetch weather data info

Example Usage

import getWeather from "./index.js";

const weather = await getWeather("Tokyo");
// console.log(weather);
// ----- City: Tokyo -----
// Temperature: +12 °C
// Wind: 39 km/h

// >>>> Forecast <<<<
// -- Day 1 --
// Temperature: 7 °C
// Wind: 41 km/h
// -- Day 2 --
// Temperature: +11 °C
// Wind: 49 km/h
// -- Day 3 --
// Temperature: +9 °C
// Wind: 14 km/h

About

Fastly fetch weather data info

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published