rvr

1.0.4 • Public • Published

RVR

Build Status NPM Version Coverage

Get Runway Visual Range (RVR) values for airports from http://rvr.fly.faa.gov.

Installation

npm install --save rvr

Usage

const rvr = require('rvr')
 
rvr('LAX').then(result => console.log(JSON.stringify(result, null, 2)))

Output:

{
  "airportId": "LAX",
  "lastUpdated": {
    "date": "06/21/2018",
    "time": "22:35:39"
  },
  "rvrValues": [
    {
      "RWY": "07R",
      "TD": "6500 ",
      "MP": "6500 ",
      "RO": "6500 ",
      "E": "0",
      "C": "0"
    },
    {
      "RWY": "25L",
      "TD": "6500 ",
      "MP": "6500 ",
      "RO": "6500 ",
      "E": "0",
      "C": "0"
    },
    {
      "RWY": "07L",
      "TD": "6500 ",
      "MP": "6500 ",
      "RO": "6500 ",
      "E": "0",
      "C": "0"
    },
    {
      "RWY": "25R",
      "TD": "6500 ",
      "MP": "6500 ",
      "RO": "6500 ",
      "E": "0",
      "C": "0"
    },
    {
      "RWY": "06R",
      "TD": "6500 ",
      "MP": "6500 ",
      "RO": "6500 ",
      "E": "0",
      "C": "0"
    },
    {
      "RWY": "24L",
      "TD": "6500 ",
      "MP": "6500 ",
      "RO": "6500 ",
      "E": "0",
      "C": "0"
    },
    {
      "RWY": "06L",
      "TD": "6500 ",
      "MP": "6500 ",
      "RO": "6500 ",
      "E": "0",
      "C": "0"
    },
    {
      "RWY": "24R",
      "TD": "6500 ",
      "MP": "6500 ",
      "RO": "6500 ",
      "E": "0",
      "C": "0"
    }
  ]
}

API

rvr(airportId)

rvr.fetch(airportId)

airportId

Type: string

Description: A 3-letter IATA airport code.

License

MIT © Forrest Desjardins

Package Sidebar

Install

npm i rvr

Weekly Downloads

8

Version

1.0.4

License

MIT

Unpacked Size

6.33 kB

Total Files

4

Last publish

Collaborators

  • fgdesjardins