Skip to content

Latest commit

 

History

History
118 lines (95 loc) · 3.24 KB

readme.md

File metadata and controls

118 lines (95 loc) · 3.24 KB

⚠️ This project has been deprecated. ⚠️

This package is no longer maintained and will be deleted in 30 days.

terminal-procedures

Fetch the latest terminal procedures information from https://www.faa.gov/

NPM Version Build Status Coverage Maintainability

Installation

$ npm install --save terminal-procedures

Usage

const terminalProcedures = require('./')

terminalProcedures.list('KBRO').then(results => {
  console.log(JSON.stringify(results, null, 2))
})

Output

{
  "documents": {
    "terminalProcedures": [
      [
        {
          "name": "AIRPORT DIAGRAM (PDF)",
          "type": "APD",
          "url": "http://aeronav.faa.gov/d-tpp/1707/00061ad.pdf#nameddest=(BRO)"
        },
        {
          "name": "ILS OR LOC RWY 13 (PDF)",
          "type": "IAP",
          "url": "http://aeronav.faa.gov/d-tpp/1707/00061il13.pdf#nameddest=(BRO)"
        },
        {
          "name": "RNAV (GPS) RWY 13 (PDF)",
          "type": "IAP",
          "url": "http://aeronav.faa.gov/d-tpp/1707/00061r13.pdf#nameddest=(BRO)"
        },
        {
          "name": "RNAV (GPS) RWY 18 (PDF)",
          "type": "IAP",
          "url": "http://aeronav.faa.gov/d-tpp/1707/00061r18.pdf#nameddest=(BRO)"
        },
        {
          "name": "LOC BC RWY 31 (PDF)",
          "type": "IAP",
          "url": "http://aeronav.faa.gov/d-tpp/1707/00061lbc31.pdf#nameddest=(BRO)"
        },
        {
          "name": "VOR OR TACAN-A (PDF)",
          "type": "IAP",
          "url": "http://aeronav.faa.gov/d-tpp/1707/00061vta.pdf#nameddest=(BRO)"
        },
        {
          "name": "LAHSO (PDF)",
          "type": "LAH",
          "url": "http://aeronav.faa.gov/d-tpp/1707/sc3lahso.pdf#nameddest=(BRO)"
        },
        {
          "name": "TAKEOFF MINIMUMS (PDF)",
          "type": "MIN",
          "url": "http://aeronav.faa.gov/d-tpp/1707/sc3to.pdf#nameddest=(BRO)"
        },
        {
          "name": "ALTERNATE MINIMUMS (PDF)",
          "type": "MIN",
          "url": "http://aeronav.faa.gov/d-tpp/1707/sc3alt.pdf#nameddest=(BRO)"
        }
      ]
    ]
  }
}

API

terminalProcedures(icaos)

terminalProcedures.list(icaos)

icaos

Type: string or array

One of the following:

  • a single ICAO code
  • an array of ICAO codes

terminalProcedures.fetchCurrentCycle()

Fetch the current diagrams distribution cycle numbers (.e.g, 1813)

License

MIT © Forrest Desjardins