This package has been deprecated

Author message:

The FAA data source this package relied on is no longer available.

@faa-aviation-data-portal/nfdc-airport-data

0.1.3 • Public • Published

nfdc-airport-data

National Flight Data Center’s (NFDC) 28 Day NASR Subscription, Airports and Other Landing Facilities

NPM Version Build Status Coverage

Installation

$ npm install --save @faa-aviation-data-portal/nfdc-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. You can also see currently available options using the following methods:

airportData.regions()
airportData.districts()
airportData.states()
airportData.counties()
airportData.cities()
airportData.uses()
airportData.certifications()

License

MIT © Forrest Desjardins

Package Sidebar

Install

npm i @faa-aviation-data-portal/nfdc-airport-data

Weekly Downloads

2

Version

0.1.3

License

MIT

Unpacked Size

9.37 kB

Total Files

4

Last publish

Collaborators

  • cmarch
  • corys
  • cosch
  • fgdesjardins