notams
Fetch NOTAMs (Notices to Airmen) from https://pilotweb.nas.faa.gov using Node.js
Installation
$ npm install --save notams
Usage
notams
Output
API
notams(icaos, options)
notams.fetch(icaos, options)
icaos
Type: string
or array
Valid values:
- a single ICAO code
- a comma-separated list of ICAO codes
- an array of ICAO codes
options
Type: object
format: 'ICAO'
options.format
Type: string
Valid values:
DOMESTIC
ICAO
notams.fetchAllByType(type, format)
type
Type: string
Valid values:
ALLTFR
ALLGPS
ALLCARF
ALLSPECIALNOTICES
format
Type: string
Valid values:
DOMESTIC
ICAO
Contributing
Contributions welcome!
License
MIT © Forrest Desjardins