Sign In

@squawk/fix-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/fix-data

Pre-processed FAA NASR fix/waypoint snapshot for use with @squawk/fixes

Source
npmnpm
Version
0.6.9
Version published
Weekly downloads
15
-54.55%
Maintainers
1
Weekly downloads
 
Created
Source

squawk logo  @squawk/fix-data

MIT License npm TypeScript

Pre-processed snapshot of fix/waypoint data from the 2026-05-14 FAA NASR cycle. Data only - no query logic, no dependency on @squawk/fixes.

Documentation

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

Coverage

  • All non-CNF named fixes and waypoints the FAA publishes: US-domestic waypoints, reporting points, VFR waypoints, NRS waypoints, military waypoints/reporting points, and radar fixes, plus selected Canadian, Mexican, Caribbean, and Pacific fixes that participate in US operations
  • Geographic coordinates (decimal degrees)
  • Usage category (WP, RP, VFR, NRS, MW, MR, RADAR)
  • ARTCC assignment (low and high altitude)
  • Compulsory reporting designation
  • Operational flags (pitch, catch, SUA/ATCAA)
  • Minimum reception altitude where published
  • Chart type associations (IAP, STAR, SID, ENROUTE, etc.)
  • Navaid associations with bearing and distance

Installation

npm install @squawk/fix-data

Usage

import { usBundledFixes } from '@squawk/fix-data';

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

// Use with @squawk/fixes for zero-config fix queries
import { createFixResolver } from '@squawk/fixes';

const resolver = createFixResolver({ data: usBundledFixes.records });

Consumers who have their own data pipeline can use @squawk/fixes alone and pass any compatible Fix 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 { loadUsBundledFixes } from '@squawk/fix-data/browser';
import { createFixResolver } from '@squawk/fixes/browser';

const dataset = await loadUsBundledFixes();
const resolver = createFixResolver({ 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 { loadUsBundledFixes } from '@squawk/fix-data/browser';

const dataset = await loadUsBundledFixes({
  url: 'https://your-cdn.example/fixes.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 Fix object from @squawk/types. Key fields:

PropertyTypeDescription
identifierstringFix identifier (e.g. "MERIT", "BOSCO")
icaoRegionCodestringICAO region code (e.g. "K6", "K7", "CY" for Canada)
lat, lonnumberDecimal degrees
countrystringTwo-letter country code
statestring or undefinedTwo-letter code for US fixes, absent for foreign
useCodeFixUseCodeWP, RP, VFR, NRS, MW, MR, or RADAR
highArtccIdstring or undefinedHigh-altitude ARTCC (e.g. "ZNY")
lowArtccIdstring or undefinedLow-altitude ARTCC
compulsoryFixCompulsory or undefinedHIGH, LOW, or LOW/HIGH
pitchbooleanPitch designation
catchbooleanCatch designation
suaAtcaabooleanSpecial Use Airspace / ATCAA association
minimumReceptionAltitudeFtnumber or undefinedMRA in feet
chartTypesstring[]Charts the fix appears on (IAP, STAR, ENROUTE, etc.)
navaidAssociationsFixNavaidAssociation[]Bearing/distance from nearby navaids

Data source

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

Keywords

aviation

FAQs

Package last updated on 20 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