
Product
Socket for ClickUp Is Now Available
Create ClickUp tasks from Socket alerts, automate ticketing with custom rules, and keep alert and task status synchronized.
@squawk/airway-data
Advanced tools
Pre-processed FAA NASR airway snapshot for use with @squawk/airways
Pre-processed snapshot of US airway data from the 2026-04-16 FAA NASR
cycle. Data only - no query logic, no dependency on
@squawk/airways.
Part of the @squawk aviation library suite. See all packages on npm.
npm install @squawk/airway-data
import { usBundledAirways } from '@squawk/airway-data';
// Inspect metadata
console.log(usBundledAirways.properties.nasrCycleDate); // YYYY-MM-DD
console.log(usBundledAirways.properties.recordCount);
console.log(usBundledAirways.properties.waypointCount);
// Use with @squawk/airways for zero-config airway queries
import { createAirwayResolver } from '@squawk/airways';
const resolver = createAirwayResolver({ data: usBundledAirways.records });
Consumers who have their own data pipeline can use @squawk/airways alone and
pass any compatible Airway array at initialization.
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 { loadUsBundledAirways } from '@squawk/airway-data/browser';
import { createAirwayResolver } from '@squawk/airways/browser';
const dataset = await loadUsBundledAirways();
const resolver = createAirwayResolver({ 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 { loadUsBundledAirways } from '@squawk/airway-data/browser';
const dataset = await loadUsBundledAirways({
url: 'https://your-cdn.example/airways.json.gz',
});
The loader also accepts a custom fetch implementation, which is useful in
tests or in edge environments that need a configured fetcher.
Each record is a full Airway object from @squawk/types. Key fields:
| Property | Type | Description |
|---|---|---|
designation | string | Airway designation (e.g. "V16", "J60", "Q1", "ATA315") |
type | AirwayType | VICTOR, JET, RNAV_Q, RNAV_T, GREEN, RED, ATLANTIC, etc. |
region | AirwayRegion | US, ALASKA, or HAWAII |
waypoints | AirwayWaypoint[] | Ordered waypoint sequence (west-to-east / south-to-north) |
Each AirwayWaypoint contains:
| Property | Type | Description |
|---|---|---|
name | string | Waypoint name |
identifier | string or undefined | Short identifier (e.g. "BOS", "MERIT") |
waypointType | AirwayWaypointType | NAVAID, FIX, WAYPOINT, BORDER, or OTHER |
lat, lon | number | Decimal degrees |
minimumEnrouteAltitudeFt | number or undefined | Minimum Enroute Altitude in feet |
maximumAuthorizedAltitudeFt | number or undefined | Maximum Authorized Altitude in feet |
minimumObstructionClearanceAltitudeFt | number or undefined | Minimum Obstruction Clearance Altitude |
distanceToNextNm | number or undefined | Distance to next waypoint in NM |
magneticCourseDeg | number or undefined | Magnetic course to next waypoint |
All data is derived from the FAA National Airspace System Resource (NASR) 28-day subscription, which is public domain. Airway data comes from AWY.txt (Victor, Jet, RNAV Q/T, colored airways) and ATS.txt (Atlantic, Bahama, Pacific, Puerto Rico oceanic routes). The build pipeline that produces this dataset lives in tools/build-airway-data.
FAQs
Pre-processed FAA NASR airway snapshot for use with @squawk/airways
The npm package @squawk/airway-data receives a total of 15 weekly downloads. As such, @squawk/airway-data popularity was classified as not popular.
We found that @squawk/airway-data demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Create ClickUp tasks from Socket alerts, automate ticketing with custom rules, and keep alert and task status synchronized.

Product
Create and manage Asana tasks directly from Socket alerts, with manual task creation, automated ticketing rules, and two-way sync.

Security News
Open VSX has removed three extension IDs from its malicious-extension list as the legitimate publishers they impersonated move to claim the names for themselves.