Skip to content

Adouchee/weather.ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weather.ts

The perfectest library for weather.

Project Overview

Built in France Beta TypeScript

Example

import { forecast } from 'weather.ts'

const weather = await forecast({
  latitude: 48.8566, // latitude
  longitude: 2.3522, // and longitude for the desired location
  current: 'temperature_2m', // wanted data
})

console.log(`It's ${weather.current.temperature_2m}°C in Paris`)

Why weather.ts ?

  • Easy to use
  • Extra-fast
  • Supports most of Open-Meteo features

Install

bun install weather.ts

OR

npm install weather.ts

Docs

See the docs.

About

The perfectest library for weather.

Topics

Resources

License

Stars

Watchers

Forks

Contributors