Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Fetch NOTAMs (Notices to Airmen) from https://pilotweb.nas.faa.gov using Node.js
$ npm install --save notams
notams.fetch([ 'PADK', 'PADU' ], { format: 'DOMESTIC' }).then(results => {
console.log(JSON.stringify(results, null, 2))
})
[
{
"icao": "PADK",
"notams": [
"!ADK 04/008 ADK NAV DME NOT MNT 1904170731-1905081400EST\n",
"!ADK 04/007 ADK NAV NDB NOT MNT 1904130039-1905101500EST\n",
"!FDC 9/2641 ADK SPECIAL ADAK, Adak Island, AK.\nILS OR LOC/DME RWY 23, AMDT 2...\nS-ILS DA NA.\n1901091550-2101091548EST\n"
]
},
{
"icao": "PADU",
"notams": [
"!DUT 05/018 DUT TWY ALL FICON WET OBS AT 1905051946. 1905051946-1905061946\n",
"!DUT 05/017 DUT APRON ALL FICON WET OBS AT 1905051946. 1905051946-1905061946\n",
"!DUT 05/016 DUT RWY 31 FICON 5/5/5 100 PCT WET OBS AT 1905051945. 1905051945-1905061945\n",
"!DUT 05/015 DUT RWY 13 FICON 5/5/5 100 PCT WET OBS AT 1905051945. 1905051945-1905061945\n",
"!DUT 04/123 DUT SVC AUTOMATED WX BCST SYSTEM OUT OF SERVICE 1904251718-1905111500EST\n"
]
}
]
notams(icaos, options)
notams.fetch(icaos, options)
icaos
Type: string
or array
Valid values:
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
Contributions welcome!
MIT © Forrest Desjardins
FAQs
Fetch NOTAMs (Notices to Airmen) from https://pilotweb.nas.faa.gov
The npm package notams receives a total of 36 weekly downloads. As such, notams popularity was classified as not popular.
We found that notams demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.