aviationweather

Node.js wrapper for aviation weather, written in TypeScript

Usage no npm install needed!

<script type="module">
  import aviationweather from 'https://cdn.skypack.dev/aviationweather';
</script>

README

aviationweather - Fetch aviation weather data

Node.js engine for global aviation weather. Written with typescript.

Examples

import { Client } from "aviationweather";

const client = new Client({ debug: false });

client
  .AW({
    datasource: "METARS",
    stationString: "KJFK",
    hoursBeforeNow: 2,
  })
  .then((res) => {
    res.forEach((r) => console.log(r));
  });

client.AVT7("ZJQH").then((res) => {
  console.log(res);
});

API Coverage

AVIATION WEATHER CENTER

  • METARs
  • Aircraft Reports
  • TAFs
  • AIR/SIGMETs
  • G-AIRMETs
  • STATION INFO

AVT7

  • METAR

Help or support

Join discord server