Sign In

@squawk/navaid-data

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
This package has malicious versions linked to the ongoing "Mini Shai-Hulud" supply chain attack.

Affected versions:

0.6.40.6.50.6.6
+2 more
View campaign page

@squawk/navaid-data

Pre-processed FAA NASR navaid snapshot for use with @squawk/navaids

Source
npmnpm
Version
0.6.3
Version published
Weekly downloads
50
92.31%
Maintainers
1
Weekly downloads
 
Created
Source

squawk logo  @squawk/navaid-data

MIT License npm TypeScript

Pre-processed snapshot of navaid data from the 2026-04-16 FAA NASR cycle. Data only - no query logic, no dependency on @squawk/navaids.

Documentation

Part of the @squawk aviation library suite. See all packages on npm.

Coverage

  • All non-shutdown navigational aids the FAA publishes: US-domestic VOR, VORTAC, VOR/DME, TACAN, DME, NDB, NDB/DME, fan markers, marine NDBs, and VOTs, plus selected Canadian, Mexican, and Caribbean navaids that participate in US operations
  • Frequencies (MHz for VOR-family, kHz for NDB-family) and TACAN channels
  • Elevation, magnetic variation, and service volume classification
  • ARTCC assignment (low and high altitude)
  • Power output, NDB class, operating hours, and simultaneous voice capability
  • DME/TACAN component position when different from the main navaid

Installation

npm install @squawk/navaid-data

Usage

import { usBundledNavaids } from '@squawk/navaid-data';

// Inspect metadata
console.log(usBundledNavaids.properties.nasrCycleDate); // YYYY-MM-DD
console.log(usBundledNavaids.properties.recordCount);

// Use with @squawk/navaids for zero-config navaid queries
import { createNavaidResolver } from '@squawk/navaids';

const resolver = createNavaidResolver({ data: usBundledNavaids.records });

Consumers who have their own data pipeline can use @squawk/navaids alone and pass any compatible Navaid array at initialization.

Browser / SPA usage

For browsers, edge runtimes (Cloudflare Workers, Deno Deploy), and any other environment without node:fs, import the async loader from the /browser subpath. It fetches and decompresses the bundled .gz using Web Streams (DecompressionStream) and the global fetch.

import { loadUsBundledNavaids } from '@squawk/navaid-data/browser';
import { createNavaidResolver } from '@squawk/navaids/browser';

const dataset = await loadUsBundledNavaids();
const resolver = createNavaidResolver({ data: dataset.records });

The default URL is resolved relative to this module's import.meta.url, which works under any modern ESM bundler when the package is installed normally.

To host the asset on your own CDN, to use a bundler-resolved (hashed) asset URL, or to override the URL for any other reason, pass an explicit url:

import { loadUsBundledNavaids } from '@squawk/navaid-data/browser';

const dataset = await loadUsBundledNavaids({
  url: 'https://your-cdn.example/navaids.json.gz',
});

The loader also accepts a custom fetch implementation, which is useful in tests or in edge environments that need a configured fetcher.

Data format

Each record is a full Navaid object from @squawk/types. Key fields:

PropertyTypeDescription
identifierstringNavaid identifier (e.g. "BOS", "JFK")
namestringOfficial facility name (e.g. "BOSTON")
typeNavaidTypeVOR, VORTAC, VOR/DME, TACAN, DME, NDB, NDB/DME, etc.
statusNavaidStatusOPERATIONAL_IFR, OPERATIONAL_RESTRICTED, or OPERATIONAL_VFR
lat, lonnumberDecimal degrees
countrystringTwo-letter country code
statestring or undefinedTwo-letter code for US navaids, absent for foreign
citystring or undefinedAssociated city
elevationFtnumber or undefinedElevation in feet MSL
frequencyMhznumber or undefinedVOR-family frequency in MHz (108.0-117.95)
frequencyKhznumber or undefinedNDB-family frequency in kHz
tacanChannelstring or undefinedTACAN/DME channel (e.g. "84X")
magneticVariationDegnumber or undefinedMagnetic variation in degrees
magneticVariationDirectionstring or undefined"E" or "W"
lowArtccIdstring or undefinedLow-altitude ARTCC (e.g. "ZBW")
highArtccIdstring or undefinedHigh-altitude ARTCC
navaidClassstring or undefinedService volume class (e.g. "VH", "VL", "H", "L", "T")
dmeServiceVolumestring or undefinedDME service volume class
powerOutputWattsnumber or undefinedTransmitter power in watts
simultaneousVoiceboolean or undefinedWhether voice is carried on the frequency
ndbClassstring or undefinedNDB classification (e.g. "HH", "MHW", "LOM")

Data source

All data is derived from the FAA National Airspace System Resource (NASR) 28-day subscription, which is public domain. Navaid data comes from NAV_BASE.csv. The build pipeline that produces this dataset lives in tools/build-navaid-data.

Keywords

aviation

FAQs

Package last updated on 06 May 2026

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