Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryanburnette/get-taf
Scrape TAF from AviationWeather.gov.
https://github.com/ryanburnette/get-taf
Last synced: 17 days ago
JSON representation
Scrape TAF from AviationWeather.gov.
- Host: GitHub
- URL: https://github.com/ryanburnette/get-taf
- Owner: ryanburnette
- License: isc
- Created: 2019-10-25T17:44:45.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-07T02:59:49.000Z (almost 2 years ago)
- Last Synced: 2024-12-19T20:28:12.407Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 76.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [get-taf](https://github.com/ryanburnette/get-taf)
[![repo](https://img.shields.io/badge/repository-Github-black.svg?style=flat-square)](https://github.com/ryanburnette/get-taf)
[![npm](https://img.shields.io/badge/package-NPM-green.svg?style=flat-square)](https://www.npmjs.com/package/@ryanburnette/get-taf)Scrape TAF from AviationWeather.gov.
## Installation
```bash
npm install @ryanburnette/get-taf
```## Usage
```js
var getTaf = require('@ryanburnette/get-taf');
(async function () {
var taf = await getTaf(process.argv[2] || 'KSRQ');
console.log(JSON.stringify(taf));
})();
```Try the demo and pipe it to jq for easier reading.
```bash
node demo.js KSRQ | jq
```