@squawk/fix-data
Advanced tools
+7
-3
@@ -25,8 +25,12 @@ import type { Fix } from '@squawk/types'; | ||
| /** | ||
| * Pre-processed snapshot of US fix/waypoint data derived from the FAA NASR | ||
| * Pre-processed snapshot of fix/waypoint data derived from the FAA NASR | ||
| * 28-day subscription cycle. | ||
| * | ||
| * Contains fix identification, location, usage category, ARTCC assignment, | ||
| * chart associations, and navaid relationships for all non-CNF US named | ||
| * fixes and waypoints. | ||
| * chart associations, and navaid relationships for every non-CNF named fix | ||
| * and waypoint published by the FAA. Includes selected Canadian, Mexican, | ||
| * Caribbean, and Pacific fixes that participate in US operations; their | ||
| * `state` field is undefined while `country` is populated with a two-letter | ||
| * code and `icaoRegionCode` reflects the foreign region (e.g. `CY` for | ||
| * Canada). | ||
| * | ||
@@ -33,0 +37,0 @@ * Pass the `records` array directly to `createFixResolver()` from |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAmD,MAAM,eAAe,CAAC;AA+E1F;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,4DAA4D;IAC5D,WAAW,EAAE,MAAM,CAAC;IACpB,qDAAqD;IACrD,aAAa,EAAE,MAAM,CAAC;IACtB,kDAAkD;IAClD,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,wCAAwC;IACxC,UAAU,EAAE,oBAAoB,CAAC;IACjC,mBAAmB;IACnB,OAAO,EAAE,GAAG,EAAE,CAAC;CAChB;AA4DD;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,cAAc,EAAE,UAO5B,CAAC"} | ||
| {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAmD,MAAM,eAAe,CAAC;AA+E1F;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,4DAA4D;IAC5D,WAAW,EAAE,MAAM,CAAC;IACpB,qDAAqD;IACrD,aAAa,EAAE,MAAM,CAAC;IACtB,kDAAkD;IAClD,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,wCAAwC;IACxC,UAAU,EAAE,oBAAoB,CAAC;IACjC,mBAAmB;IACnB,OAAO,EAAE,GAAG,EAAE,CAAC;CAChB;AA8DD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,cAAc,EAAE,UAO5B,CAAC"} |
+10
-4
@@ -23,3 +23,2 @@ import { readFileSync } from 'node:fs'; | ||
| icaoRegionCode: c.icao, | ||
| state: c.st, | ||
| country: c.ctry, | ||
@@ -35,2 +34,5 @@ lat: c.lat, | ||
| }; | ||
| if (c.st !== undefined) { | ||
| fix.state = c.st; | ||
| } | ||
| if (c.hart !== undefined) { | ||
@@ -60,8 +62,12 @@ fix.highArtccId = c.hart; | ||
| /** | ||
| * Pre-processed snapshot of US fix/waypoint data derived from the FAA NASR | ||
| * Pre-processed snapshot of fix/waypoint data derived from the FAA NASR | ||
| * 28-day subscription cycle. | ||
| * | ||
| * Contains fix identification, location, usage category, ARTCC assignment, | ||
| * chart associations, and navaid relationships for all non-CNF US named | ||
| * fixes and waypoints. | ||
| * chart associations, and navaid relationships for every non-CNF named fix | ||
| * and waypoint published by the FAA. Includes selected Canadian, Mexican, | ||
| * Caribbean, and Pacific fixes that participate in US operations; their | ||
| * `state` field is undefined while `country` is populated with a two-letter | ||
| * code and `icaoRegionCode` reflects the foreign region (e.g. `CY` for | ||
| * Canada). | ||
| * | ||
@@ -68,0 +74,0 @@ * Pass the `records` array directly to `createFixResolver()` from |
+5
-4
| { | ||
| "name": "@squawk/fix-data", | ||
| "version": "0.3.2", | ||
| "version": "0.4.0", | ||
| "type": "module", | ||
@@ -22,4 +22,4 @@ "description": "Pre-processed FAA NASR fix/waypoint snapshot for use with @squawk/fixes", | ||
| ".": { | ||
| "import": "./dist/index.js", | ||
| "types": "./dist/index.d.ts" | ||
| "types": "./dist/index.d.ts", | ||
| "import": "./dist/index.js" | ||
| } | ||
@@ -35,3 +35,4 @@ }, | ||
| "test": "node --test 'dist/**/*.spec.js'", | ||
| "lint": "tsc --noEmit && eslint src" | ||
| "lint": "tsc --noEmit && eslint src", | ||
| "lint:pack": "publint && attw --pack . --profile esm-only" | ||
| }, | ||
@@ -38,0 +39,0 @@ "dependencies": { |
+5
-4
@@ -5,3 +5,3 @@ <h1><img src="../../assets/squawk-logo.svg" alt="squawk logo" width="48" height="48" style="vertical-align: middle"> @squawk/fix-data</h1> | ||
| Pre-processed snapshot of US fix/waypoint data from the **2026-04-16** FAA NASR | ||
| Pre-processed snapshot of fix/waypoint data from the **2026-04-16** FAA NASR | ||
| cycle. Data only - no query logic, no dependency on | ||
@@ -16,3 +16,3 @@ `@squawk/fixes`. | ||
| - All non-CNF US named fixes and waypoints: waypoints, reporting points, VFR waypoints, NRS waypoints, military waypoints/reporting points, and radar fixes | ||
| - 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) | ||
@@ -58,5 +58,6 @@ - Usage category (WP, RP, VFR, NRS, MW, MR, RADAR) | ||
| | `identifier` | string | Fix identifier (e.g. "MERIT", "BOSCO") | | ||
| | `icaoRegionCode` | string | ICAO region code (e.g. "K6", "K7") | | ||
| | `icaoRegionCode` | string | ICAO region code (e.g. "K6", "K7", "CY" for Canada) | | ||
| | `lat`, `lon` | number | Decimal degrees | | ||
| | `state`, `country` | string | Two-letter codes | | ||
| | `country` | string | Two-letter country code | | ||
| | `state` | string or undefined | Two-letter code for US fixes, absent for foreign | | ||
| | `useCode` | FixUseCode | WP, RP, VFR, NRS, MW, MR, or RADAR | | ||
@@ -63,0 +64,0 @@ | `highArtccId` | string or undefined | High-altitude ARTCC (e.g. "ZNY") | |
Sorry, the diff of this file is not supported yet
1736508
0.93%134
8.06%77
1.32%