Looks up airways by designation (e.g. "V16", "J60", "Q1"). Multiple airways can share the same designation in different regions (e.g. V16 exists in both the contiguous US and Hawaii). Case-insensitive. Returns an empty array if no match is found.
Finds all airways that pass through a given fix or navaid identifier. Case-insensitive. Returns an empty array if no match is found.
Expands an airway between two fixes, returning the ordered sequence of waypoints from the entry fix to the exit fix (inclusive).
Airways can be traversed in either direction. When the entry fix appears after the exit fix in the stored waypoint order, the returned waypoints are reversed so they always run entry-to-exit.
The result also lists any published gap the expansion crosses, taken from
the discontinued flag the FAA sets on the waypoint after which an airway
is discontinued, and any unusable segment, taken from the unusable flag
on the waypoint that starts it. The expansion still returns every waypoint
between the two fixes, so callers decide how to treat a gap or an
unusable segment.
Matches waypoint identifiers case-insensitively. Returns undefined if either fix is not found on the airway.
Fuzzy-searches airways by designation. Results are scored and returned best-match first, each carrying the matched field and character ranges for highlighting.
A stateless resolver providing airway lookup and traversal methods.