npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

notams

v1.3.4

Published

Fetch NOTAMs (Notices to Airmen) from https://pilotweb.nas.faa.gov

Downloads

109

Readme

notams

Fetch NOTAMs (Notices to Airmen) from https://pilotweb.nas.faa.gov using Node.js

NPM Version Build Status Coverage Maintainability

Installation

$ npm install --save notams

Usage

notams.fetch([ 'PADK', 'PADU' ], { format: 'DOMESTIC' }).then(results => {
  console.log(JSON.stringify(results, null, 2))
})

Output

[
  {
    "icao": "PADK",
    "notams": [
      "!ADK 04/008 ADK NAV DME NOT MNT 1904170731-1905081400EST\n",
      "!ADK 04/007 ADK NAV NDB NOT MNT 1904130039-1905101500EST\n",
      "!FDC 9/2641 ADK SPECIAL ADAK, Adak Island, AK.\nILS OR LOC/DME RWY 23, AMDT 2...\nS-ILS DA NA.\n1901091550-2101091548EST\n"
    ]
  },
  {
    "icao": "PADU",
    "notams": [
      "!DUT 05/018 DUT TWY ALL FICON WET OBS AT 1905051946. 1905051946-1905061946\n",
      "!DUT 05/017 DUT APRON ALL FICON WET OBS AT 1905051946. 1905051946-1905061946\n",
      "!DUT 05/016 DUT RWY 31 FICON 5/5/5 100 PCT WET OBS AT 1905051945. 1905051945-1905061945\n",
      "!DUT 05/015 DUT RWY 13 FICON 5/5/5 100 PCT WET OBS AT 1905051945. 1905051945-1905061945\n",
      "!DUT 04/123 DUT SVC AUTOMATED WX BCST SYSTEM OUT OF SERVICE 1904251718-1905111500EST\n"
    ]
  }
]

API

notams(icaos, options)

notams.fetch(icaos, options)

icaos

Type: string or array

Valid values:

  • a single ICAO code
  • a comma-separated list of ICAO codes
  • an array of ICAO codes

options

Type: object

{ format: 'ICAO' }
options.format

Type: string

Valid values:

  • DOMESTIC
  • ICAO

notams.fetchAllByType(type, format)

type

Type: string

Valid values:

  • ALLTFR
  • ALLGPS
  • ALLCARF
  • ALLSPECIALNOTICES

format

Type: string

Valid values:

  • DOMESTIC
  • ICAO

Contributing

Contributions welcome!

License

MIT © Forrest Desjardins