Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@faa-aviation-data-portal/tfrs

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@faa-aviation-data-portal/tfrs

Fetch temporary flight restrictions and related data from https://tfr.faa.gov

  • 0.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
29
decreased by-71.84%
Maintainers
1
Weekly downloads
 
Created
Source

tfrs

Fetch temporary flight restrictions and related data from https://tfr.faa.gov

NPM Version

Installation

$ npm install --save @faa-aviation-data-portal/tfrs

Usage

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

Partial Output

[
  {
    "date": "08/15/2019",
    "notam": "9/2094",
    "facility": "ZLA",
    "state": "UT",
    "type": "HAZARDS",
    "description": "52NM SW OF ST. GEORGE, UT, Thursday, August 15, 2019 through Monday, September 30, 2019 UTC New  ",
    "links": {
      "details": "https://tfr.faa.gov/save_pages/detail_9_2094.html",
      "zoom": "https://tfr.faa.gov/tfr_map_ims/html/cc/scale3/tile_2_3.html",
      "xml": "https://tfr.faa.gov/save_pages/detail_9_2094.xml"
    }
  },
  ...
]

API

tfrs.list()

tfrs.fetch(tfrId, options)

tfrId

The TFR NOTAM ID, e.g., 9/2094

Type: string

options

Options to customize the results of the fetch() method

Type: object

Example:

{
  "format": "json"
}
options.format

Specify the format of the results. Note, not all formats contain the same information.

Type: string

Valid values:

  • json
  • xml
  • aixm

Contributing

Contributions welcome!

License

MIT © Forrest Desjardins

Keywords

FAQs

Package last updated on 30 Jan 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc