@squawk
    Preparing search index...

    Module @squawk/procedure-data

    squawk logo  @squawk/procedure-data

    MIT License npm TypeScript

    Pre-processed snapshot of US instrument procedure data from the 2026-10-29 FAA CIFP cycle. Covers Standard Instrument Departures (SIDs), Standard Terminal Arrival Routes (STARs), and Instrument Approach Procedures (IAPs) in the unified ARINC 424 leg model. Data only - no query logic, no dependency on @squawk/procedures.

    Documentation

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

    • Standard Instrument Departures (SIDs)
    • Standard Terminal Arrival Routes (STARs)
    • Instrument Approach Procedures (IAPs): ILS, LOC, LOC-BC, RNAV, RNAV (RNP), VOR, VOR/DME, NDB, NDB/DME, TACAN, GLS, IGS, LDA, SDF, GPS, FMS, MLS
    • Full ARINC 424 leg model per procedure: path terminators (IF, TF, CF, DF, CA, CI, CR, FA, FC, FD, FM, HA, HF, HM, PI, RF, AF, VA, VD, VI, VM, VR)
    • Altitude constraints (at / at-or-above / at-or-below / between / glide-slope / step-down descriptors) with primary and secondary altitudes
    • Speed constraints with descriptor
    • Recommended navaid, RNP value, turn direction (with the mandatory-turn flag), arc radius, center fix (for RF legs)
    • Vertical path angle on final approach legs, transition altitude per procedure, GNSS/FMS indication and route type qualifiers (straight-in, circling, copter) as published
    • Approach-role flags: IAF, IF (intermediate), FAF, FACF, MAP, fly-over
    • Named transitions (approach transitions for IAPs, enroute / runway transitions for SIDs and STARs)
    • Missed-approach sequences for IAPs
    • Resolved lat/lon for every fix, navaid, airport, and runway reference
    npm install @squawk/procedure-data
    
    import { usBundledProcedures } from '@squawk/procedure-data';

    // Inspect metadata
    console.log(usBundledProcedures.properties.cifpCycleDate); // "2026-05-14"
    console.log(usBundledProcedures.properties.recordCount);
    console.log(usBundledProcedures.properties.sidCount);
    console.log(usBundledProcedures.properties.starCount);
    console.log(usBundledProcedures.properties.iapCount);

    // 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.

    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 { loadUsBundledProcedures } from '@squawk/procedure-data/browser';
    import { createProcedureResolver } from '@squawk/procedures/browser';

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

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

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

    Importing the package decompresses and parses the whole procedure snapshot. When all you need is the data's vintage - to show which cycle you are serving, or to decide whether to refresh - import the /meta subpath instead. It is a plain constant with no file access, so it costs nothing and works the same in Node and the browser.

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

    console.log(usBundledProceduresProperties.cifpCycleDate); // YYYY-MM-DD
    console.log(usBundledProceduresProperties.recordCount);

    The values are identical to usBundledProcedures.properties; the difference is only that reading them this way does not pull the records into memory.

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

    Property Type Description
    name string Human-readable name (e.g. AALLE4, ILS RWY 04L, RNAV Y RWY 21)
    identifier string CIFP procedure identifier (e.g. AALLE4, I04L, R21-Y)
    type ProcedureType SID, STAR, or IAP
    airports string[] Airports served by this procedure
    commonRoutes ProcedureCommonRoute[] Trunk paths with legs, adapted airports, and the runway when the route is runway-specific
    transitions ProcedureTransition[] Named transitions (approach / enroute / runway depending on type)
    transitionAltitudeFt number | undefined Transition altitude in feet MSL (18,000 on US procedures)
    approachType ApproachType | undefined Approach classification (IAPs only)
    runway string | undefined Runway served by the approach (IAPs with a runway-specific approach)
    missedApproach MissedApproachSequence Missed-approach climb-out (IAPs only)

    Each ProcedureLeg carries:

    Property Type Description
    pathTerminator ProcedureLegPathTerminator ARINC 424 path terminator (e.g. TF, CF, CA)
    fixIdentifier, category, lat, lon, icaoRegionCode (see types) Termination fix (absent on pure heading/altitude legs)
    altitudeConstraint AltitudeConstraint Descriptor + primary/secondary altitudes in feet
    speedConstraint SpeedConstraint Descriptor + speed in knots
    courseDeg, courseIsTrue number / boolean Outbound or intercept course
    distanceNm, holdTimeMin number Distance or hold time (leg-type dependent)
    recommendedNavaid, thetaDeg, rhoNm, rnpNm (see types) Recommended navaid + bearing/distance/RNP reference
    turnDirection, turnDirectionValid 'L' | 'R' | 'E' / boolean Commanded turn direction and whether it is mandatory
    verticalAngleDeg number Vertical path angle in degrees, negative for a descent (final approach legs)
    arcRadiusNm, centerFix (see types) Populated on RF constant-radius-arc legs
    isInitialApproachFix, isIntermediateFix, isFinalApproachFix, isFinalApproachCourseFix, isMissedApproachPoint, isFlyover boolean Approach role flags
    gnssFmsIndication, routeTypeQualifier1, routeTypeQualifier2 (see types) ARINC 424 GNSS/FMS indication, required navigation sensor, and minimums codes (approach legs)

    Data is derived from the FAA CIFP (Coded Instrument Flight Procedures) 28-day cycle, which is public domain and published in ARINC 424 v18 format. The build pipeline that produces this dataset lives in tools/build-procedure-data.

    Graphic ODPs are encoded by CIFP as SIDs (PD records) with no distinguishing field, so they are included in this dataset labelled as SID alongside regular Standard Instrument Departures. There is no reliable way to distinguish ODPs from regular SIDs using CIFP data alone - the ODP indicator lives in the d-TPP (Digital Terminal Procedures Publication) chart titles.

    Textual ODPs (plain-English climb instructions published in the d-TPP supplement) are not carried by CIFP at all and are therefore not included in this dataset.

    • Coordinates carry up to 6 decimal places (about 10 cm), converted from CIFP's degree, minute and second values, which are given to a hundredth of a second (about 30 cm). The same point can differ in its last places between squawk datasets (a navaid in the navaid data and as an airway waypoint, for example), so compare positions across datasets with a tolerance.
    • Only procedures published for airports are included. CIFP's heliport procedures (two heliport approaches in the current cycle) are not.
    • About 900 SIDs and STARs consist only of transitions, with an empty commonRoutes. CIFP publishes them that way.
    • Approaches that are not aligned with a runway are named by their final approach course (for example RNAV 027 for identifier R027) and have no runway.
    • courseIsTrue is never set in the current cycle because CIFP publishes every course as magnetic.
    • One leg has no coordinates: the initial fix of the KDAF R36 approach references NDB CMY, which the current CIFP cycle does not publish.
    • Six Alaska legs name North Dakota VORs as their recommended navaid: the SPY transition and the missed approach of the St. George ILS and LOC RWY 11 (PAPB I11 and L11) reference Minot (MIB), and the two runway transitions of the Tununak EZEPU1 departure reference Williston (ISN), each about 2,300 nm away. The distance overflows the ARINC rho field, which tops out at 999.9, so rhoNm is left unset on those legs rather than publishing a value that is not a distance; thetaDeg and recommendedNavaid are published as coded. The coding is identical in the preceding CIFP cycle.
    • Nine + altitude constraints carry a second altitude that the descriptor does not use. It comes from the source data unchanged.
    • Constraint altitudes are feet MSL and can be negative: approaches to the four airports below sea level in the Imperial and Coachella valleys (KBWC, KCLR, KIPL, KTRM) publish at-altitudes from -54 to -145 ft.
    browser
    meta