nfdc-airport-data
v0.0.1
Published
National Flight Data Center’s (NFDC) 28 Day NASR Subscription, Airports and Other Landing Facilities
Downloads
11
Maintainers
Readme
nfdc-airport-data
National Flight Data Center’s (NFDC) 28 Day NASR Subscription, Airports and Other Landing Facilities
Installation
npm install --save airport-data
Usage
const airportData = require('nfdc-airport-data')
airportData.facilities({ city: 'Anchorage' }).then(results => {
console.log(results[0])
})
Partial output:
{
SiteNumber: '50033.1*H',
Type: 'HELIPORT',
LocationID: '2OK',
EffectiveDate: '06/21/2018',
Region: 'AAL',
DistrictOffice: 'NONE',
State: 'AK',
StateName: 'ALASKA',
County: 'ANCHORAGE',
CountyState: 'AK',
City: 'ANCHORAGE',
FacilityName: 'ALASKA RGNL HOSPITAL',
Ownership: 'PU',
...
}
API
airportData.facilities(options)
airportData.runways(options)
airportData.remarks(options)
airportData.schedules(options)
options
Type: object
const defaultOptions = {
region: '',
district: '',
state: '',
county: '',
city: '',
use: '',
certification: ''
}
All options values can be empty for searching all regions, districts, etc., or one of the values defined at https://www.faa.gov/airports/airport_safety/airportdata_5010/menu/.
License
MIT © Forrest Desjardins