Sign In

@squawk/procedure-data

Package Overview
Dependencies
Maintainers
1
Versions
19
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.7.30.7.40.7.5
+2 more
View campaign page

@squawk/procedure-data

Pre-processed FAA NASR procedure snapshot for use with @squawk/procedures

Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
18
-28%
Maintainers
1
Weekly downloads
 
Created
Source

@squawk/procedure-data

Pre-processed snapshot of US instrument procedure data derived from the FAA NASR 28-day subscription cycle. Data only - no query logic, no dependency on @squawk/procedures.

Documentation

Coverage

  • Standard Instrument Departures (SIDs/DPs)
  • Standard Terminal Arrival Routes (STARs)
  • Full waypoint sequences with fix identifiers and coordinates
  • Named enroute transitions for each procedure
  • Multiple common route variants for different runway configurations
  • Adapted airport associations per procedure and per route
  • Waypoint type classification (fix, navaid, airport)

Installation

npm install @squawk/procedure-data

Usage

import { usBundledProcedures } from '@squawk/procedure-data';

// Inspect metadata
console.log(usBundledProcedures.properties.nasrCycleDate); // "2026-01-22"
console.log(usBundledProcedures.properties.recordCount);
console.log(usBundledProcedures.properties.sidCount);
console.log(usBundledProcedures.properties.starCount);

// Use with @squawk/procedures for zero-config procedure queries
import { createProcedureResolver } from '@squawk/procedures';

const resolver = createProcedureResolver({ data: usBundledProcedures.records });

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

Data format

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

PropertyTypeDescription
namestringHuman-readable name (e.g. "AALLE FOUR")
computerCodestringFAA computer code (e.g. "AALLE4")
typeProcedureTypeSID or STAR
airportsstring[]All adapted airports served by this procedure
commonRoutesProcedureCommonRoute[]Trunk paths with waypoints and per-route adapted airports
transitionsProcedureTransition[]Named entry/exit transitions

Each ProcedureWaypoint contains:

PropertyTypeDescription
fixIdentifierstringFix or navaid identifier (e.g. "AALLE", "DEN")
categoryProcedureWaypointCategoryFIX, NAVAID, or AIRPORT
typeCodeProcedureWaypointTypeCodeRaw FAA type code (P, R, NW, ND, AA, etc.)
lat, lonnumberDecimal degrees
icaoRegionCodestring or undefinedICAO region code (e.g. "K2", "K5")

Data source

All data is derived from the FAA National Airspace System Resource (NASR) 28-day subscription, which is public domain. Procedure data comes from STARDP.txt, a fixed-width file encoding SID and STAR waypoint sequences. The build pipeline that produces this dataset lives in scripts/build-procedure-data/.

Keywords

aviation

FAQs

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